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
This issue would be hard to fix the way the compiler is designed currently, since it means we would have to load in new files while type-checking. Currently we can get the full set of imports just by parsing.
Search Terms
Modules,
import()
, Module Specifier, Module NamespaceSuggestion
Support inferring module specifier passed to type import function (
import()
in type name space) to allow custom import function.Use Cases
if I have a function that wraps
require
, it's impossible to declare types for it:Ideally I would like to declare types for a function like that as following:
Use Cases
Checklist
My suggestion meets these guidelines:
The text was updated successfully, but these errors were encountered: