Marketto / codice-fiscale-utils

Utility to handle Italian Codice Fiscale
MIT License
25 stars 11 forks source link

Problem using with isolatedModules #66

Closed psenderos closed 2 years ago

psenderos commented 3 years ago

Platform [ ] nodeJs [X ] Web/Browser

Issue description: I encounter a problem when using with isolatedModules set to true.

` Re-exporting a type when the '--isolatedModules' flag is provided requires using 'export type'. TS1205

 7 | export {
 8 |     BelfioreConnector,
 9 |     BelfiorePlace,
    |     ^
10 | };

`

Steps to reproduce the problem:

  1. Just install it with the flag isolatedModule set to true in your tsconfig file
  2. Try to start the application
jscheid commented 2 years ago

Ciao @Marketto, could you check to see if #72 helps?