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
Since it's an ES Module it exports the download function as a default export, BUT typescript translates that by adding a .default property which is assigned the exported function.
The text was updated successfully, but these errors were encountered:
loarca
changed the title
Package doesn't export a function
Package doesn't export a function when using require()Dec 20, 2019
loarca
changed the title
Package doesn't export a function when using require()
Package doesn't export a function when importing as commonjs module
Dec 20, 2019
Since it's an ES Module it exports the download function as a default export, BUT typescript translates that by adding a
.default
property which is assigned the exported function.The text was updated successfully, but these errors were encountered: