-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Should TypeScript be part of the devDependencies? #115
Comments
Hi @iliocatallo 👋 Great question! This is intentional - |
Hi @rwaskiewicz! Thank you for the explanation. Question: would it make sense to require If not instructed otherwise, VSCode defaults to its own version of TypeScript, which could in principle be different from the version that Ciao! |
Potentially in the future, it may! However at the moment such a change would require some pretty significant changes to Stencil.
That's a valid point. I wonder if there's some way Stencil can tell VSCode what version of TypeScript it contains 🤔 If not, it's something we could probably add to our documentation. |
microsoft/vscode#42243 (comment) this might be relevant to choosing typescript version via Settings. |
Hi,
I usually instruct VSCode to use the TypeScript installation in
node_modules/
, but I just noticed that – when asked to bootstrap a new component,npm init stencil
generates apackage.json
that does not listtypescript
as a dev dependency. Is this intentional?Thank you,
Ilio.
The text was updated successfully, but these errors were encountered: