1 | {
|
2 | // Change this to match your project
|
3 | "include": ["./src/**/*"],
|
4 | "exclude": ["node_modules", "./typings"],
|
5 | "compilerOptions": {
|
6 | // Tells TypeScript to read JS files, as
|
7 | // normally they are ignored as source files
|
8 | "allowJs": true,
|
9 | // Generate d.ts files
|
10 | "declaration": true,
|
11 | "declarationDir": "./typings",
|
12 | // Types should go into this directory.
|
13 | // Removing this would place the .d.ts files
|
14 | // next to the .js files
|
15 | "outDir": "./dist",
|
16 | // go to js file when using IDE functions like
|
17 | // "Go to Definition" in VSCode
|
18 | "declarationMap": true,
|
19 | "target": "ES2017",
|
20 | "lib": ["ES2022", "DOM"],
|
21 | }
|
22 | } |
\ | No newline at end of file |