Skip to content

Types: findOne(Async): found document may be null#68

Open
dtkdtk wants to merge 1 commit into
seald:masterfrom
dtkdtk:master
Open

Types: findOne(Async): found document may be null#68
dtkdtk wants to merge 1 commit into
seald:masterfrom
dtkdtk:master

Conversation

@dtkdtk

@dtkdtk dtkdtk commented Jun 20, 2025

Copy link
Copy Markdown

If the document is not found, Cursor<null> will be returned

If the document is not found, `Cursor<null>` will be returned
@dtkdtk

dtkdtk commented Dec 27, 2025

Copy link
Copy Markdown
Author

Also, please fix types for removeAsync():

- removeAsync(query: any, options: Nedb.RemoveOptions): Promise<number>;
+ removeAsync(query: any, options?: Nedb.RemoveOptions): Promise<number>;
#                                ^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant