why is swc not enforcing types? #2942
Answered
by
kwonoj
patrick99e99
asked this question in
Q&A
-
if I do:
I get no errors, despite the fact I have said foo should be boolean... My swcrc is:
Am I missing a setting to get the type checking behavior? |
Beta Was this translation helpful? Give feedback.
Answered by
kwonoj
Dec 2, 2021
Replies: 1 comment 1 reply
-
Swc doesn't support typecheck. You should use tsc for typecheck. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
kwonoj
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Swc doesn't support typecheck. You should use tsc for typecheck.