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
We want to provide user a script feature, allowing to modify the config by user.
Thanks to ESM, it's easy to add tool modules (with methods for asynchronous and synchronous operations), and users can use them directly with an import statement and expose an asynchronous default method to handle configuration.
We want to provide user a script feature, allowing to modify the config by user.
Thanks to ESM, it's easy to add tool modules (with methods for asynchronous and synchronous operations), and users can use them directly with an import statement and expose an asynchronous default method to handle configuration.
Here is the ideal user module type signature:
Now, we try to impl this case by the code like below.
When we passed the function into module declared, we always got this error:
I have no idea, so i had to create this issue for help.
This is the reproduce repo: https://github.com/greenhat616/rquickjs-module-test
The text was updated successfully, but these errors were encountered: