Skip to content

Commit

Permalink
Merge pull request #304 from derbyjs/del-optional-path
Browse files Browse the repository at this point in the history
Make path optional on delPromised
  • Loading branch information
craigbeck authored May 10, 2024
2 parents 179edb8 + 2b97d80 commit 9d39c4c
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 9d39c4c

Please sign in to comment.