How to turn off Typescript? #16651
-
From the get go the starter I've been using has been configured with Typescript and as my project has developed I've decided against using it.. this was fine at a component level in which I converted pages/comps accordingly however since attempting to do so with _app.tsx and _document.tsx (into _app.js and _document.js) I'm receving errors regards finding the respective pages with their .tsx extension.. Cmd+f doesn't seem to resolve where these files are being called and thus why im asking if the community know of a way in which i can turn off typescript? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @jimmynames. Did you remove the |
Beta Was this translation helpful? Give feedback.
Hi @jimmynames. Did you remove the
tsconfig.json
file from the root folder of your project? Additionally you should also removetypescript
from yourpackage.json
and then reinstall your dependencies viayarn install
ornpm install