Files
replayweb.page/tsconfig.json
T
Emma Segal-Grossman 5c7b914e69 Typescript config parity with Browsertrix repo (#289)
Follow-up from #288 

This matches the strictness rules with the Browsertrix repo,
specifically `noImplicitAny`, and then adds `// @ts-expect-error`s to
suppress existing errors this change raises. This'll help us keep code
quality high moving forward.

Going to just directly merge this once it passes CI; as with #288, this
doesn't change any code, just comments.
2024-03-07 21:12:26 -05:00

36 lines
841 B
JSON

{
"compilerOptions": {
"outDir": "./dist/",
"module": "esnext",
"target": "es6",
"moduleResolution": "node",
"allowJs": true,
"strict": true,
"declaration": true,
"declarationMap": true,
"declarationDir": "./dist/types",
"noImplicitAny": true,
"allowSyntheticDefaultImports": true,
"experimentalDecorators": true,
"importHelpers": true,
"sourceMap": true,
"inlineSources": true,
"skipLibCheck": true,
"plugins": [
{
"name": "ts-lit-plugin",
"strict": true,
"rules": {
"no-missing-import": "off"
},
"maxNodeModuleImportDepth": -1
}
],
"incremental": true,
"paths": {
"flexsearch": ["./node_modules/@types/flexsearch"]
}
},
"include": ["src/**/*.ts", "src/**/*.js", "src/**/*.d.ts"]
}