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
error: TS2614 [ERROR]: Module '"https://esm.sh/v113/[email protected]/index.d.ts"' has no exported member 'eventChannel'. Did you mean to use 'import eventChannel from "https://esm.sh/v113/[email protected]/index.d.ts"' instead?
import { eventChannel } from "https://esm.sh/[email protected]";
Additional info
I used to fix it by doing:
// @deno-types="../redux-saga.d.ts"
import { eventChannel } from "redux-saga";
And then in that file:
declare module "redux-saga" {
import createSagaMiddleware from "https://esm.sh/v91/@redux-saga/[email protected]/types/index.d.ts";
export * from "https://esm.sh/v91/@redux-saga/[email protected]/types/index.d.ts";
export default createSagaMiddleware;
}
But now this doesn't work (even though I kept it hardcoded to v91 of esm.sh.
esm.sh version: It used to work on v91, but stopped magically
Failing module
Error message
After running
deno run
I got this:Additional info
I used to fix it by doing:
And then in that file:
But now this doesn't work (even though I kept it hardcoded to v91 of esm.sh.
The text was updated successfully, but these errors were encountered: