-
-
Notifications
You must be signed in to change notification settings - Fork 219
Closed
Labels
FixedFixed in master branch. Pending production release.Fixed in master branch. Pending production release.bugSomething isn't workingSomething isn't working
Description
Describe the bug
After installing the Svelte for VS Code extension in my editor to work on a svelte project, a different project written in react and typescript completely crushes and throws ts error all over the place:
Type '() => svelte.JSX.Element' is not assignable to type 'FC<{}>'.
Type 'Element' is not assignable to type 'ReactElement<any, any> | null'.
Type 'Element' is missing the following properties from type 'ReactElement<any, any>': type, props, key
literally every .tsx file throw errors, the project worked flawlessly before installing the svelte extension.
The only way I found so far, is to disable the extension every time I'm not working on a svelte project, which sucks, you know.
To Reproduce
Steps to reproduce the behavior:
Open a react-ts project with the svelte extension in VSCode i guess.
Expected behavior
svelte extension doesn't influence non-svelte projects
System (please complete the following information):
- OS: MAC OS
- IDE: VSCode
- Plugin/Package: "Svelte for VSCode"
Dhaiwat10, danielquintero, ekafyi, gustavopch and Gin-Quin
Metadata
Metadata
Assignees
Labels
FixedFixed in master branch. Pending production release.Fixed in master branch. Pending production release.bugSomething isn't workingSomething isn't working