-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathtsconfig.json
More file actions
26 lines (26 loc) · 775 Bytes
/
tsconfig.json
File metadata and controls
26 lines (26 loc) · 775 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{
"include": ["src/**/*"],
"exclude": ["src/primitives/**/*", "src/sketches/**/*"],
"compilerOptions": {
// not sure if these should be here
"target": "ES2015",
// "module": "es2015",
"lib": ["es2015", "DOM"],
// Tells TypeScript to read JS files, as
// normally they are ignored as source files
"allowJs": true,
"checkJs": true,
// Generate d.ts files
"declaration": true,
// This compiler run should
// only output d.ts files
"emitDeclarationOnly": true,
// Types should go into this directory.
// Removing this would place the .d.ts files
// next to the .js files
"outDir": "types"
// go to js file when using IDE functions like
// "Go to Definition" in VSCode
// "declarationMap": true
}
}