Hey! Thanks for this lib!
I'm trying to use fakeIndexedDB in node environment and have the following code:
import FDBCursor = require("fake-indexeddb/lib/FDBCursor");
Just trying to import fdbcursor but it throws error:
TypeError: Object prototype may only be an Object or null: undefined
at setPrototypeOf (<anonymous>)
at extendStatics (node_modules/fake-indexeddb/build/FDBCursorWithValue.js:7:16)
at __extends (node_modules/fake-indexeddb/build/FDBCursorWithValue.js:10:9)
at node_modules/fake-indexeddb/build/FDBCursorWithValue.js:18:5
at Object.<anonymous> (node_modules/fake-indexeddb/build/FDBCursorWithValue.js:28:2)
I found that it is because of circular import.
What should i do?
Hey! Thanks for this lib!
I'm trying to use fakeIndexedDB in node environment and have the following code:
Just trying to import fdbcursor but it throws error:
I found that it is because of circular import.
What should i do?