Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dumbmatter authored Feb 9, 2023
1 parent 8deda8a commit 42353b1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,9 @@ As of version 4, fake-indexeddb includes TypeScript types. As you can see in typ

### Dexie and other IndexedDB API wrappers

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

```js
// import fake-indexeddb/auto first to make Dexie works correctly
import "fake-indexeddb/auto";
import Dexie from "dexie";

Expand Down

0 comments on commit 42353b1

Please sign in to comment.