0.0.5 • Published 5 years ago

spring-types v0.0.5

Weekly downloads
9
License
Commercial
Repository
-
Last release
5 years ago

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:

alt text

Considerations

  • It is important that tsconfig.json has "declaration": true,