Closed Chen-913 closed 1 year ago
Some configurations seem to have errors
I followed the steps of README to install the dependency package, but when I opened Home.tsx, I received a syntax error for ts
I changed the configuration to 'Node', and after that, there were no syntax errors
Is my TS version too low? I haven't installed any TS except for the project
That's strange. I just followed the README in an attempt to duplicate the error but didn't encounter it.
Sometimes VSCode can be a bit weird so it wouldn't surprise me if the suggestion in this stack overflow answer did the trick https://stackoverflow.com/a/76065201
Try it out and let me know how it goes. If that doesn't work we can do some more digging.
Great! It solved me. The latest version of ts used by vscode is currently version 4, which I switched in order to use the version of the workspace
Awesome! Glad to hear it!
Some configurations seem to have errors
I followed the steps of README to install the dependency package, but when I opened Home.tsx, I received a syntax error for ts
I changed the configuration to 'Node', and after that, there were no syntax errors
Is my TS version too low? I haven't installed any TS except for the project