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
The referrer contains metadata about the script/module that calls import.
but there is no argument called referrer in the example code. The arguments resource_name and host_defined_options appear in the example but are not described.
i figured out the arguments by looking at the C++ docs which passes a ScriptOrModule called referrer, which contains HostDefinedOptions and ResourceName. this could be clearer in the rust docs.
The text was updated successfully, but these errors were encountered:
The docstring for HostImportModuleDynamicallyCallback says
but there is no argument called
referrer
in the example code. The argumentsresource_name
andhost_defined_options
appear in the example but are not described.i figured out the arguments by looking at the C++ docs which passes a ScriptOrModule called
referrer
, which containsHostDefinedOptions
andResourceName
. this could be clearer in the rust docs.The text was updated successfully, but these errors were encountered: