mirror of
https://github.com/codedread/bitjs
synced 2025-10-03 01:29:17 +02:00
22 lines
635 B
JSON
22 lines
635 B
JSON
{
|
|
// Change this to match your project
|
|
"include": ["index.js"],
|
|
"exclude": [],
|
|
"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
|
|
"outDir": "types",
|
|
// go to js file when using IDE functions like
|
|
// "Go to Definition" in VSCode
|
|
"declarationMap": true
|
|
}
|
|
}
|