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
Now the typescript import declaration files only from node_modules.
I also suggest importing declaration files for dynamic imports.
📃 Motivating Example
In the current version of the typescript, the widget will have the type any.
After the implementation of this feature, the widget must have a type from declarations, check types, and help the developer write code.
No. This is another feature.
Proposal #24550 asks to add static imports from external domains.
My suggestion is to import declarations for dynamic imports.
Suggestion
⭐ Suggestion
Now the typescript import declaration files only from node_modules.
I also suggest importing declaration files for dynamic imports.
📃 Motivating Example
In the current version of the typescript, the widget will have the type
any
.After the implementation of this feature, the widget must have a type from declarations, check types, and help the developer write code.
💻 Use Cases
Development of distributed microfrontends.
This feature will allow you to make much larger distributed applications.
✅ Viability Checklist
My suggestion meets these guidelines:
The text was updated successfully, but these errors were encountered: