Replies: 1 comment
-
Did you find any solution to this ? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am setting up Typescript to an existing JS project. Always fun ;). As part of my commit process, with
lint-staged
I would like to runtsc
command as part of the pre-commit hook. However, the TSC complier is displaying some errors that are not showing up within the VSCode environment. I would like to think this is because of the special sauce of NextJS...When i run:
"type-check": "tsc --noEmit --skipLibCheck"
the following errors are displayed:My tsconfig should be OK:
Is this a feature that cannot be run?
Beta Was this translation helpful? Give feedback.
All reactions