summaryrefslogtreecommitdiff
path: root/tsconfig.json
diff options
context:
space:
mode:
Diffstat (limited to 'tsconfig.json')
-rw-r--r--tsconfig.json17
1 files changed, 17 insertions, 0 deletions
diff --git a/tsconfig.json b/tsconfig.json
new file mode 100644
index 0000000..34dd6f7
--- /dev/null
+++ b/tsconfig.json
@@ -0,0 +1,17 @@
+{
+ // Change this to match your project
+ "include": ["*.js"],
+ "compilerOptions": {
+ // Tells TypeScript to read JS files, as
+ // normally they are ignored as source files
+ "allowJs": true,
+ // Generate d.ts files
+ "declaration": true,
+ // This compiler run should
+ // only output d.ts files
+ "emitDeclarationOnly": true,
+ // go to js file when using IDE functions like
+ // "Go to Definition" in VSCode
+ "declarationMap": true
+ }
+}