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
Regarding import assertions, being a host that is ready to implement it (@denoland) we are totally fine with TypeScript "washing their hands of it" and just allowing it to be parsed. We already do all of our dependency decisioning and resolution outside of tsc and so we only expect the compiler to request the specifier to the host like it always has, and we will worry about if it is code and how to represent it (or not) from a type perspective to the compiler. We believe our only blocker at the moment is that the compiler currently "chokes" on the syntax.
We are ready though to integrate it and give feedback when it lands in the beta.
It's looking more like we will keep ourselves open to being able to check specifiers based on a global type (in the same spirit of ImportMeta. That way, Deno's .d.ts files would be able to communicate exactly which types of imports it supports.
Import Assertions
#40698
import()
right?lib.es****.d.ts
lib.dom.d.ts
.Type Display for Unresolved Types
#45893
#38836
type Thing = any
import * as yadda
).The text was updated successfully, but these errors were encountered: