Re:Why if TYPE_CHECKING?
by bruce343434 on Friday December 22, 2023 @06:31AM
(#38733192)
Typescript does not ignore type errors by default. Type error = fail to compile
[ Parent
| on HN ]
Try it, it produces output by default. You have to add a flag/option to change this https://www.typescriptlang.org/tsconfig/#noEmitOnError