Property using declare
prompts to add 'override' even though that does not seem valid
#43566
Labels
Milestone
Bug Report
🔎 Search Terms
🕗 Version & Regression Information
4.3.0-dev.20210406
💻 Code
Using
--noImplicitOverride
:🙁 Actual behavior
On
declare kind: undefined
, I see:Adding
override
makes the code invalid🙂 Expected behavior
We should probably change our code to:
However using
declare
was previously valid and the current error message seems incorrectThe text was updated successfully, but these errors were encountered: