Hacker News new | ask | show | jobs
by eropple 881 days ago
> This would be useful for dependencies for example, in most circumstances you can safely assume that dependency code doesn't contain compilation errors, so any passes that check for them are just pure and unnecessary overhead.

It's not an identical case, but TypeScript offers this with `skipLibCheck`. Most people use it. It's generally good--until it's really not good and you eat half a day unwinding a deceptively broken dependency.

1 comments

Sounds like if the code is in JavaScript, it would be already broken anyway