647d7bdd88
Fixes all TypeScript failures caused by enabling the `--strict` flag for test source files. We also want to enable the strict options for tests as the strictness enforcement improves the overall codehealth, unveiled common issues and additionally it allows us to enable `strict` in the `tsconfig.json` that is picked up by IDE's. PR Close #30993
18 lines
366 B
JSON
18 lines
366 B
JSON
/**
|
|
* Root tsconfig file for use in all tests.
|
|
*/
|
|
{
|
|
"extends": "./tsconfig-build.json",
|
|
"compilerOptions": {
|
|
"types": ["node", "jasmine"],
|
|
"plugins": [{
|
|
"name": "@bazel/tsetse",
|
|
"disabledRules": ["must-use-promises"]
|
|
}]
|
|
},
|
|
"bazelOptions": {
|
|
"suppressTsconfigOverrideWarnings": true,
|
|
"devmodeTargetOverride": "es5"
|
|
}
|
|
}
|