hookshot/tsconfig.json
Will Hunt c864dc6b42
Support node 20, drop node 16 (#724)
* Support node 20, drop node 16

* Update workflow versions

* Update backendmeta

* Use version file

* Update packages

* Yarn updates

* Changelog

* Fix glibc compatibility

* Target es2021

Without this, CI tests fail

* Drop unused metrics parameter

* Revert "Drop unused metrics parameter"

This reverts commit 4d874549bcec3dea0d6941215ac5c4f4707966ac.

* Make a note about broken support

---------

Co-authored-by: Andrew Ferrazzutti <andrewf@element.io>
2023-04-27 12:24:06 +01:00

39 lines
1008 B
JSON

{
"extends": "@tsconfig/node18/tsconfig.json",
"compilerOptions": {
"incremental": true,
"declaration": false,
"outDir": "./lib",
"rootDir": "./src",
"noImplicitAny": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"strictBindCallApply": true,
"strictPropertyInitialization": true,
"noImplicitThis": true,
"alwaysStrict": true,
/* Additional Checks */
"noUnusedLocals": false,
"noUnusedParameters": false,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"esModuleInterop": true,
"inlineSourceMap": true,
"inlineSources": true,
"allowJs": true,
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
// TODO: Type errors
"useUnknownInCatchVariables": false,
// ES2022+ is currently broken https://github.com/matrix-org/matrix-hookshot/issues/729
"target": "es2021"
},
"include": [
"src/**/*"
],
"exclude": [
"tests/**/*",
"web/**/*"
]
}