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
While working on microsoft/TypeScript#49663, Ron Buckton pointed out a pitfall in my initial implementation, which was largely inspired by this plugin. Example:
consta=import(Promise.resolve("foo"));
This should be importing [object Object], instead of foo.
This package passes a string to Promise.resolve, so it doesn't suffer from that problem. Remember that the import specifier should be stringified synchronously.
While working on microsoft/TypeScript#49663, Ron Buckton pointed out a pitfall in my initial implementation, which was largely inspired by this plugin. Example:
This should be importing
[object Object]
, instead offoo
.Alternative solution is proposed in microsoft/TypeScript#49663 (comment)
The text was updated successfully, but these errors were encountered: