Skip to content

Commit f6e8baf

Browse files
committed
fix: add missing string type for appendFile's options argument
1 parent 42603fc commit f6e8baf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/volume.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1552,7 +1552,7 @@ export class Volume {
15521552
}
15531553

15541554
appendFile(id: TFileId, data: TData, callback: TCallback<void>);
1555-
appendFile(id: TFileId, data: TData, options: IAppendFileOptions, callback: TCallback<void>);
1555+
appendFile(id: TFileId, data: TData, options: IAppendFileOptions | string, callback: TCallback<void>);
15561556
appendFile(id: TFileId, data: TData, a, b?) {
15571557
const [opts, callback] = getAppendFileOptsAndCb(a, b);
15581558

0 commit comments

Comments
 (0)