openhab
Version:
JavaScript Library for openHAB Automation
32 lines (31 loc) • 815 B
JSON
{
// Change this to match your project
"include": ["../src/**/*.js"],
"exclude": [
"../src/helpers.js",
"../src/index.js",
"../test/**",
"../coverage/**",
"../dist/**",
"../docs/**",
"../typeOfArguments.js",
"../build"
],
"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
}
}