Skip to content

Commit b5aeceb

Browse files
anonrigtargos
authored andcommitted
fs: fix unlinkSync typings
PR-URL: #49859 Refs: nodejs/performance#106 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
1 parent 6ddea07 commit b5aeceb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

typings/internalBinding/fs.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ declare namespace InternalFSBinding {
203203
function symlink(target: StringOrBuffer, path: StringOrBuffer, type: number, usePromises: typeof kUsePromises): Promise<void>;
204204

205205
function unlink(path: string, req: FSReqCallback): void;
206-
function unlink(path: string, req: undefined, ctx: FSSyncContext): void;
206+
function unlink(path: string): void;
207207
function unlink(path: string, usePromises: typeof kUsePromises): Promise<void>;
208208

209209
function utimes(path: string, atime: number, mtime: number, req: FSReqCallback): void;

0 commit comments

Comments
 (0)