spring-types
v0.0.5
Published
## Overview
Downloads
1
Readme
Spring Types
Overview
This project containts TypeScript types for spring projects.
How to develop
In order to be able to develop libraries yarn provides link
functionality. This links a package to your local copy
existing in your computer.
Simply go into the library project and run:
$ yarn link
Then, go the the project where you are using the library and run:
$ yarn install <library_name>
.library_name
is whatever is written under package.json
name
field.
Then, you can use the library as if was a regular library:
const {hello} = require("<library_name>");
const helloOutcome = hello();
console.log(helloOutcome); // -> "Hello world!"
Testing
Even though there is a test
setup in package.json
, you can have IntelliJ integration with the fllowing setup:
Considerations
- It is important that
tsconfig.json
has"declaration": true,