Open brojd opened 8 months ago
Currently we use strict: false in tsconfig which disables set of other TypeScript rules: alwaysStrict strictNullChecks strictBindCallApply strictFunctionTypes strictPropertyInitialization noImplicitAny noImplicitThis useUnknownInCatchVariables
strict: false
tsconfig
From docs: The strict flag enables a wide range of type checking behavior that results in stronger guarantees of program correctness
We should aim to enable it and fix all related issues.
strict
true
The current version of Grafana OnCall, at the time this issue was opened, is v1.3.57. If your issue pertains to an older version of Grafana OnCall, please be sure to list it in the PR description. Thank you :smile:!
Problem
Currently we use
strict: false
intsconfig
which disables set of other TypeScript rules: alwaysStrict strictNullChecks strictBindCallApply strictFunctionTypes strictPropertyInitialization noImplicitAny noImplicitThis useUnknownInCatchVariablesFrom docs: The strict flag enables a wide range of type checking behavior that results in stronger guarantees of program correctness
We should aim to enable it and fix all related issues.
Acceptance criteria
strict
is set totrue
intsconfig
Outcome