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
I'm trying to write an interface definition for the 5.0.0 version of the js-tokens library. I've run into a problem that I hope can be solved.
js-tokens uses export.default to export a regular expression. The import method in JS is as follows:
var jsTokens = require("js-tokens").default.
More information can be seen https://github.com/lydell/js-tokens/tree/v5.0.0.
I don't know how to write this interface definition. Can you guide me?
The text was updated successfully, but these errors were encountered:
I'm trying to write an interface definition for the 5.0.0 version of the js-tokens library. I've run into a problem that I hope can be solved.
js-tokens uses export.default to export a regular expression. The import method in JS is as follows:
var jsTokens = require("js-tokens").default.
More information can be seen https://github.com/lydell/js-tokens/tree/v5.0.0.
I don't know how to write this interface definition. Can you guide me?
The text was updated successfully, but these errors were encountered: