Enable tsconfig
setting noImplicitOverride
#1458
Replies: 5 comments
-
Agreed! The simple fix here will actually be to stop setting per-strictness-flag values and use |
Beta Was this translation helpful? Give feedback.
-
Completely agree with that! But in this case, the option |
Beta Was this translation helpful? Give feedback.
-
Ah, I forgot. That's one of their "lint"-type rules. We probably need a small RFC to define which lint rules we should opt into by default (if any), vs. allowing other tools (like |
Beta Was this translation helpful? Give feedback.
-
Okay, I get that, makes sense. Then perhaps, we could have a new page in the documentation about all these "lint"-type setting, such as |
Beta Was this translation helpful? Give feedback.
-
While I definitely appreciate the suggestion, I think that’s all TypeScript-specific information and should live in TypeScript’s docs. If it’s not clear from the TS compiler options guide or handbook (and I agree that it isn’t!) we should work to address it there. Happily, as with TS itself, the docs are open source, and I know they’re quite receptive to feedback on stuff like this. (Note: I’m going to convert this to a Discussion.) |
Beta Was this translation helpful? Give feedback.
-
As a
ember-cli-typescript
user, I would like thetsconfig
settingnoImplicitOverride
to be enabled so that TypeScript warns me whenever an overriden method from a parent class gets out of sync.I really think this setting can help having a more robust codebase.
More information:
Beta Was this translation helpful? Give feedback.
All reactions