tweak tsconfig
This commit is contained in:
parent
657d48aac0
commit
409b5e2f6b
4 changed files with 31 additions and 20 deletions
2
.github/workflows/test-and-publish.yml
vendored
2
.github/workflows/test-and-publish.yml
vendored
|
|
@ -52,7 +52,7 @@ jobs:
|
|||
needs: [version]
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [16.x, 18.x]
|
||||
node-version: [16.x, 18.x, 20.x]
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
|
|
|
|||
|
|
@ -9,4 +9,5 @@ export class Diff2HtmlUI extends Diff2HtmlUIBase {
|
|||
}
|
||||
}
|
||||
|
||||
export { Diff2HtmlUIConfig, defaultDiff2HtmlUIConfig };
|
||||
export { defaultDiff2HtmlUIConfig };
|
||||
export type { Diff2HtmlUIConfig };
|
||||
|
|
|
|||
|
|
@ -9,4 +9,5 @@ export class Diff2HtmlUI extends Diff2HtmlUIBase {
|
|||
}
|
||||
}
|
||||
|
||||
export { Diff2HtmlUIConfig, defaultDiff2HtmlUIConfig };
|
||||
export { defaultDiff2HtmlUIConfig };
|
||||
export type { Diff2HtmlUIConfig };
|
||||
|
|
|
|||
|
|
@ -1,28 +1,37 @@
|
|||
{
|
||||
"include": ["*env.d.ts", "src/**/*", "./typings/**/*"],
|
||||
"exclude": ["node_modules", "src/__tests__/**"],
|
||||
"compilerOptions": {
|
||||
"outDir": "./_target",
|
||||
"target": "es5",
|
||||
"module": "commonjs",
|
||||
"moduleResolution": "node",
|
||||
"lib": ["es2020", "dom"],
|
||||
"outDir": "_target",
|
||||
"module": "CommonJS",
|
||||
"moduleResolution": "Node",
|
||||
"target": "ES6",
|
||||
"lib": ["ES6", "DOM"],
|
||||
"jsx": "preserve",
|
||||
"allowJs": false,
|
||||
"checkJs": false,
|
||||
"importHelpers": true,
|
||||
"esModuleInterop": true,
|
||||
"allowSyntheticDefaultImports": true,
|
||||
"strict": true,
|
||||
"noUnusedLocals": true,
|
||||
"noUnusedParameters": true,
|
||||
"noImplicitReturns": true,
|
||||
"noFallthroughCasesInSwitch": true,
|
||||
"skipLibCheck": true,
|
||||
"resolveJsonModule": true,
|
||||
"declaration": true,
|
||||
"declarationMap": true,
|
||||
"sourceMap": true,
|
||||
"noEmit": false,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"isolatedModules": true,
|
||||
"incremental": false,
|
||||
"strictNullChecks": true,
|
||||
"removeComments": true,
|
||||
"preserveConstEnums": true,
|
||||
"sourceMap": true,
|
||||
"alwaysStrict": true,
|
||||
"strict": true,
|
||||
"noImplicitAny": true,
|
||||
"noImplicitThis": true,
|
||||
"noUnusedParameters": true,
|
||||
"noUnusedLocals": true,
|
||||
"noImplicitReturns": true,
|
||||
"noFallthroughCasesInSwitch": true,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"esModuleInterop": true
|
||||
},
|
||||
"include": ["./src/**/*", "./typings/**/*"],
|
||||
"exclude": ["node_modules", "./src/__tests__/*"]
|
||||
"noImplicitThis": true
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue