-
Notifications
You must be signed in to change notification settings - Fork 300
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(typescript): Add tsconfig.json configuration
- Loading branch information
1 parent
71a2370
commit 3c8c5f5
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} | ||
} |