ts-npm-ytmusic-api/tsconfig.json

44 lines
1.1 KiB
JSON

{
"compilerOptions": {
/** Transpiler */
"target": "esnext",
"lib": ["esnext"], // "dom", "dom.iterable", "esnext"
"module": "commonjs", // esnext
"moduleResolution": "node",
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
/** Project */
"rootDir": "src",
"outDir": "dist",
"typeRoots": ["./node_modules/@types", "./src/@types"],
"declaration": true,
/** Type Checking */
"strict": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"strictBindCallApply": true,
"strictPropertyInitialization": true,
"noImplicitThis": true,
"useUnknownInCatchVariables": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"noUncheckedIndexedAccess": true,
"noImplicitOverride": true,
"allowUnusedLabels": true,
"resolveJsonModule": true,
"forceConsistentCasingInFileNames": true
/** Other */
// "noEmit": true,
// "allowJs": true,
// "jsx": "react-jsx",
// "skipLibCheck": true,
// "isolatedModules": true,
// "incremental": true
},
"include": ["src"],
"exclude": ["src/__tests__"]
}