3 ms·
The TS compiler will complain but still generate working JS code, so you don't lose anything.
by addicted 11y ago
The TS compiler will complain but still generate working JS code, so you don't lose anything.
- DCoder 11y agoBut the compiler's output will be polluted with these false positives, making it harder to see actual errors. (Also, there's a compiler flag to prevent codegen on error, which comes in handy sometimes.)