Skip to content

Commit

Permalink
Make path optional on delPromised
Browse files Browse the repository at this point in the history
  • Loading branch information
craigbeck committed May 10, 2024
1 parent 179edb8 commit 2b97d80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Model/mutators.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ declare module './Model' {
*/
del<S>(subpath: Path, cb?: Callback): S | undefined;
del<T>(cb?: Callback): T | undefined;
delPromised(subpath: Path): Promise<void>;
delPromised(subpath?: Path): Promise<void>;
_del<S>(segments: Segments, cb?: ErrorCallback): S;

_delNoDereference(segments: Segments, cb?: ErrorCallback): void;
Expand Down

0 comments on commit 2b97d80

Please sign in to comment.