You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I know that this problem is outside of Deno's control. However, surprise breaking change is not a desirable behaviour. As such, Deno must minimize unintentional breaking change that may cause by upgrading TypeScript. One way to do it is to stop checking for type correctness of the implementation part of third-party modules.
The text was updated successfully, but these errors were encountered:
We can't/won't stop type checking the whole "program". We could consider making the diagnostics non-fatal. I thought we had an issue for it, but we don't, so I created #9737. I think that is the only viable solution.
Ran in to this just now, and the current DX feels like a pretty blunt tool: abandon type checking in your project altogether because of a problem in type compatibility with a dependency.
Of the top of my head, it would be nice to be able to
Yesterday, someone reported that
deno.land/x/[email protected]
stopped working on Deno 1.8.0. The cause for this bug is that the TypeScript version that Deno uses no longer infer generic argument correctly (in the past,new Set()
would giveSet<T>
, but the new TypeScript givesSet<unknown>
).I know that this problem is outside of Deno's control. However, surprise breaking change is not a desirable behaviour. As such, Deno must minimize unintentional breaking change that may cause by upgrading TypeScript. One way to do it is to stop checking for type correctness of the implementation part of third-party modules.
The text was updated successfully, but these errors were encountered: