Skip to content

Commit

Permalink
feat(typescript): Add tsconfig.json configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Desplandis authored and mgermerie committed Jul 20, 2023
1 parent 71a2370 commit 3c8c5f5
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"include": [ "src/Main.js" ],
"exclude": [ "node_modules", "lib", "dist" ],
"compilerOptions": {
/* Type Checking */
"strict": true,
/* Modules */
"baseUrl": ".",
"paths": {
"*": [ "src/*" ]
},
"moduleResolution": "nodenext",
/* Emit */
"declaration": true,
"emitDeclarationOnly": true,
"outDir": "types",
/* JavaScript Support */
"allowJs": true,
"checkJs": false, // set to true for type checking of js files
/* Interop Constraints */
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
"isolatedModules": true,
/* Language and Environment */
"target": "esnext",
/* Completeness */
"skipLibCheck": true
}
}

0 comments on commit 3c8c5f5

Please sign in to comment.