1 | {
|
2 | // Change this to match your project
|
3 | "include": ["lib/*.js", "lib/**/*.js"],
|
4 | "compilerOptions": {
|
5 | // Tells TypeScript to read JS files, as
|
6 | // normally they are ignored as source files
|
7 | "allowJs": true,
|
8 | "checkJs": false,
|
9 | // Generate d.ts files
|
10 | "declaration": true,
|
11 | // This compiler run should
|
12 | // only output d.ts files
|
13 | "emitDeclarationOnly": true,
|
14 | // Types should go into this directory.
|
15 | // Removing this would place the .d.ts files
|
16 | // next to the .js files
|
17 | "outDir": "types"
|
18 | }
|
19 | }
|