6006120e60
Signed-off-by: T-Hax <>
22 lines
666 B
JSON
22 lines
666 B
JSON
{
|
|
// Change this to match your project
|
|
"include": ["src/**/*", "index.js"],
|
|
"exclude": ["node_modules"],
|
|
"compilerOptions": {
|
|
// Tells TypeScript to read JS files, as
|
|
// normally they are ignored as source files
|
|
"allowJs": 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
|
|
"outFile": "index.d.ts",
|
|
// go to js file when using IDE functions like
|
|
// "Go to Definition" in VSCode
|
|
"declarationMap": true
|
|
}
|
|
} |