Prerequisites
Stencil Version
v2.11.0
Current Behavior
Fails to start with this option present in tsconfig.
Expected Behavior
Not fail.
Steps to Reproduce
- Grab https://github.com/ionic-team/stencil-component-starter.
- Add this to compilerOptions of tsconfig:
"useUnknownInCatchVariables": true,
Code Reproduction URL
https://github.com/ionic-team/stencil-component-starter
Additional Information
For context: I can't really just remove this flag, since its in my shared tsconfig (I'm extending from it).
I don't really understand how the compiler works without installing typescript as dependency. I can only see you have locked TS version in package.json, but why?
Prerequisites
Stencil Version
v2.11.0
Current Behavior
Fails to start with this option present in tsconfig.
Expected Behavior
Not fail.
Steps to Reproduce
Code Reproduction URL
https://github.com/ionic-team/stencil-component-starter
Additional Information
For context: I can't really just remove this flag, since its in my shared tsconfig (I'm
extending from it).I don't really understand how the compiler works without installing typescript as dependency. I can only see you have locked TS version in
package.json, but why?