X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=tsconfig.json;h=9e4fe44ec96fbddde23720e5ca009878b5b276de;hb=12240a2ea6b5c924befefa8846732249ad357730;hp=a0c7e1629f61d538a2f732b817d31636179d5228;hpb=e7aeea18e189dd087c8f951cf77a253e2818ae90;p=e-mobility-charging-stations-simulator.git diff --git a/tsconfig.json b/tsconfig.json index a0c7e162..9e4fe44e 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -33,6 +33,7 @@ // "strictPropertyInitialization": true, /* Enable strict checking of property initialization in classes. */ // "noImplicitThis": true, /* Raise error on 'this' expressions with an implied 'any' type. */ // "alwaysStrict": true, /* Parse in strict mode and emit "use strict" for each source file. */ + "importsNotUsedAsValues": "error", /* Enforce using `import type` instead of `import` for types */ /* Additional Checks */ // "noUnusedLocals": true, /* Report errors on unused locals. */ @@ -66,5 +67,10 @@ /* Advanced Options */ "skipLibCheck": true, /* Skip type checking of declaration files. */ "forceConsistentCasingInFileNames": true /* Disallow inconsistently-cased references to the same file. */ + }, + "ts-node": { + "compilerOptions": { + "module": "commonjs" + } } }