diff --git a/src/Model/mutators.ts b/src/Model/mutators.ts index 2f477c19..b9029ade 100644 --- a/src/Model/mutators.ts +++ b/src/Model/mutators.ts @@ -60,7 +60,7 @@ declare module './Model' { */ del(subpath: Path, cb?: Callback): S | undefined; del(cb?: Callback): T | undefined; - delPromised(subpath: Path): Promise; + delPromised(subpath?: Path): Promise; _del(segments: Segments, cb?: ErrorCallback): S; _delNoDereference(segments: Segments, cb?: ErrorCallback): void;