Skip to content

Commit

Permalink
docs: fix missing argument
Browse files Browse the repository at this point in the history
  • Loading branch information
typicode authored Oct 23, 2023
1 parent da434c2 commit c4ce27f
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 @@ -160,7 +160,7 @@ Lowdb is extremely flexible, if you need to extend it or modify its behavior, us

Lowdb has two classes (for asynchronous and synchronous adapters).

#### `new Low(adapter)`
#### `new Low(adapter, defaultData)`

```js
import { Low } from 'lowdb'
Expand All @@ -171,7 +171,7 @@ await db.read()
await db.write()
```

#### `new LowSync(adapterSync)`
#### `new LowSync(adapterSync, defaultData)`

```js
import { LowSync } from 'lowdb'
Expand Down

0 comments on commit c4ce27f

Please sign in to comment.