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
Can't import the named export 'clearIntervalAsync' (reexported as 'clearIntervalAsync') from default-exporting module (only default export is available)
#49
Closed
mike-lischke opened this issue
Nov 29, 2022
· 1 comment
Hi, after upgrading all my dependencies in my React (CRA) app, including set-interval-async I now get the error:
Can't import the named export 'clearIntervalAsync' (reexported as 'clearIntervalAsync') from default-exporting module (only default export is available)
when building it. I checked the type definitions to see where that mentioned default export is, but couldn't find any. There are only named exports, so I'm a bit clueless now how to solve this import issue.
I'm using the latest version of set-interval-async (3.0.2), Node.js version 18.12.1 and this is my import line:
import { clearIntervalAsync, setIntervalAsync, SetIntervalAsyncTimer } from "set-interval-async/dynamic";
The text was updated successfully, but these errors were encountered:
Hi, after upgrading all my dependencies in my React (CRA) app, including
set-interval-async
I now get the error:when building it. I checked the type definitions to see where that mentioned default export is, but couldn't find any. There are only named exports, so I'm a bit clueless now how to solve this import issue.
I'm using the latest version of
set-interval-async
(3.0.2), Node.js version 18.12.1 and this is my import line:The text was updated successfully, but these errors were encountered: