ES dynamic import support import a module from CDN like this:
import('https://abc.com/a.js')
However, TS will report this line as an error: can't find the module.
Is there a plan to support this feature?
Add an ambient module declaration for it. See https://www.typescriptlang.org/docs/handbook/modules.html#ambient-modules for more details.
Automatically closing this issue for housekeeping purposes. The issue labels indicate that it is unactionable at the moment or has already been addressed.
Hi,
I would also like to do this. But I don't understand how. Could you give a little more insight?
Thanks
Most helpful comment
Hi,
I would also like to do this. But I don't understand how. Could you give a little more insight?
Thanks