Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
bruce343434
on Dec 22, 2023
|
parent
|
context
|
favorite
| on:
Why if TYPE_CHECKING?
Typescript does not ignore type errors by default. Type error = fail to compile
tomn
on Dec 22, 2023
[–]
Try it, it produces output by default. You have to add a flag/option to change this
https://www.typescriptlang.org/tsconfig/#noEmitOnError
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: