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 has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
🐛 Bug Report
I've switched a
loadable
code tolazy
so that I can use react suspense, per your website docs.While everything still works, typescript is throwing an error that
lazy
only accepts one argument.Error:
Expected 1 argument, but got 2
To Reproduce
Expected behavior
No typescript errors.
Run
npx envinfo --system --binaries --npmPackages @loadable/component,@loadable/server,@loadable/webpack-plugin,@loadable/babel-plugin --markdown --clipboard
Paste the results here:
The text was updated successfully, but these errors were encountered: