"override" TypeScript keyword supported #3740
Unanswered
electrovir
asked this question in
Troubleshooting
Replies: 1 comment
-
facing same error. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How does one get the
override
TypeScript keyword (released in version 4.3 of TypeScript) to work withsnowpack
and@snowpack/plugin-typescript
? I'm using it in conjunction with thenoImplicitOverride
TypeScript compiler flag.For the following code:
I get the following error in
snowflake dev
:The above code causes no problems with my bare TypeScript setup: VS Code understands it,
tsc
understands it, etc.Interestingly, if I remove the
override
keyword in the above code,@snowpack/plugin-typescript
correctly prints the following because I havenoImplicitOverride
turned on:I'm guessing I'm just missing a config somewhere? I'm currently using a very basic
snowpack.config.js
that is nearly identical to theapp-template-blank-typescript
example.Beta Was this translation helpful? Give feedback.
All reactions