Skip to content

Commit 42353b1

Browse files
authored
Update README.md
1 parent 8deda8a commit 42353b1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,9 @@ As of version 4, fake-indexeddb includes TypeScript types. As you can see in typ
8989

9090
### Dexie and other IndexedDB API wrappers
9191

92-
If you import `fake-indexeddb/auto` before calling `new Dexie()`, it should work:
92+
If you import `fake-indexeddb/auto` before importing `dexie`, it should work:
9393

9494
```js
95-
// import fake-indexeddb/auto first to make Dexie works correctly
9695
import "fake-indexeddb/auto";
9796
import Dexie from "dexie";
9897

0 commit comments

Comments
 (0)