Skip to content

Commit

Permalink
RF readme.md\
Browse files Browse the repository at this point in the history
  • Loading branch information
lachlanmcdonald authored May 7, 2024
1 parent 11904f5 commit 4e5c24e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ __mock-storage__ intends to be side-effect compatible with browser environments,
There are two distinct ways to utilise this module:

```ts
const { createStorage } = require('@lmcd/mock-storage');
import { createStorage } from "@lmcd/mock-storage";
const storage = createStorage();
```

```ts
const { Storage } = require('@lmcd/mock-storage');
import { Storage } from "@lmcd/mock-storage";
const storage = new Storage();
```

Expand Down

0 comments on commit 4e5c24e

Please sign in to comment.