diff --git a/README.md b/README.md index c93d611a..1cf9025b 100644 --- a/README.md +++ b/README.md @@ -89,11 +89,11 @@ 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 Dexie from "dexie"; import "fake-indexeddb/auto"; +import Dexie from "dexie"; const db = new Dexie("MyDatabase"); ```