Closed
Description
I seem to be confused about what this option does. My tests (written in typescript and executed via mocha with --require ts-node/register
) run just as fast with or without typeChecking (~23 seconds after clearing the cache) and catch simple type errors I've tried introducing, regardless of whether I use the typeCheck option or not.
I've tried enabling / disabling it both via the require entrypoints (ts-node/register
vs ts-node/register/typeCheck
) and via the environment variable (TS_NODE_TYPE_CHECK
) and haven't been able to detect any difference in behavior.
Could you add some documentation on what the typeCheck option actually does and how to decide whether to enable it or not? Thanks!
Metadata
Metadata
Assignees
Labels
No labels