File tree Expand file tree Collapse file tree 2 files changed +28
-1
lines changed Expand file tree Collapse file tree 2 files changed +28
-1
lines changed Original file line number Diff line number Diff line change 11{
2+ // Only include files in the src directory
3+ "include" : [
4+ " src/**/*"
5+ ],
26 "compilerOptions" : {
7+ // Tells the compiler to check JS files
38 "checkJs" : true
49 }
5- }
10+ }
Original file line number Diff line number Diff line change 1+ {
2+ // Only include files in the src directory
3+ "include" : [
4+ " src/**/*"
5+ ],
6+ "compilerOptions" : {
7+ // Tells TypeScript to read JS files, as
8+ // normally they are ignored as source files
9+ "allowJs" : true ,
10+ // Generate d.ts files
11+ "declaration" : true ,
12+ // This compiler run should 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+ // go to js file when using IDE functions like
19+ // "Go to Definition" in VSCode
20+ "declarationMap" : true
21+ }
22+ }
You can’t perform that action at this time.
0 commit comments