-
Notifications
You must be signed in to change notification settings - Fork 29
Expand file tree
/
Copy pathtsconfig.json
More file actions
20 lines (20 loc) · 813 Bytes
/
tsconfig.json
File metadata and controls
20 lines (20 loc) · 813 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
// Tells TypeScript where to look for files to work with.
"include": ["index.js", "src/**/*"],
"compilerOptions": {
// Skip type checking all .d.ts files from external libraries.
"skipLibCheck": true,
// Tell TypeScript to read JS files, as normally they are ignored as source files.
"allowJs": true,
// Ask Typescript to generate .d.ts declaration files.
"noEmit": false,
"declaration": true,
// This compiler run should only output .d.ts files.
"emitDeclarationOnly": true,
// Types should go into this directory.
// Removing this option will place the .d.ts files next to their .js source files.
"outDir": "typescript",
// Generate declaration files to go to js file when using IDE functions like "Go to Definition".
"declarationMap": true
}
}