Skip to content

Commit c4ce27f

Browse files
authored
docs: fix missing argument
1 parent da434c2 commit c4ce27f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ Lowdb is extremely flexible, if you need to extend it or modify its behavior, us
160160

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

163-
#### `new Low(adapter)`
163+
#### `new Low(adapter, defaultData)`
164164

165165
```js
166166
import { Low } from 'lowdb'
@@ -171,7 +171,7 @@ await db.read()
171171
await db.write()
172172
```
173173

174-
#### `new LowSync(adapterSync)`
174+
#### `new LowSync(adapterSync, defaultData)`
175175

176176
```js
177177
import { LowSync } from 'lowdb'

0 commit comments

Comments
 (0)