Skip to content

Commit d398529

Browse files
committed
fs: fix unlinkSync typings
PR-URL: #49859 Refs: nodejs/performance#106 Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: Joyee Cheung <[email protected]>
1 parent 6bc7fa7 commit d398529

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)