Skip to content

Commit

Permalink
Clarify the meaning of db.status
Browse files Browse the repository at this point in the history
  • Loading branch information
vweevers committed Feb 6, 2022
1 parent 379503e commit 2e90b05
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ See [Encodings](#encodings) for a full description of these options. Other `opti

### `db.status`

A read-only string property that is one of:
Read-only getter that returns a string reflecting the current state of the database:

- `'opening'` - waiting for the database to be opened
- `'open'` - successfully opened the database
Expand Down
2 changes: 1 addition & 1 deletion types/abstract-level.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ declare class AbstractLevel<TFormat, KDefault = string, VDefault = string>
supports: IManifest

/**
* A read-only string property that is one of:
* Read-only getter that returns a string reflecting the current state of the database:
*
* - `'opening'` - waiting for the database to be opened
* - `'open'` - successfully opened the database
Expand Down

0 comments on commit 2e90b05

Please sign in to comment.