Answer the question
In order to leave comments, you need to log in
How to specify --type-check flag in Node and/or packages(tsc, ts-node)?
Hello. There is a problem with the Date reflection mechanism
in ts-node . To solve it, you need to set the `--type-check` flag.
How can it be specified?
If you simply specify in the console - tests are not processed, the typescript is not compiled. (tests on jest) .
From the person working on ts-node, I got the answer: "you can use environment variables or if you're using by file you can use ts-node/register/type-check"
Please tell me what kind of environment variable should I set?
What is meant by if you're using by file you can use ts-node/register/type-check ? ts-node --type-check my-file.test.ts
Answer the question
In order to leave comments, you need to log in
Can you please tell me what environment variable should I set?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question