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

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎typings/internalBinding/fs.d.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ declare namespace InternalFSBinding {
203203
functionsymlink(target: StringOrBuffer,path: StringOrBuffer,type: number,usePromises: typeofkUsePromises): Promise<void>;
204204

205205
functionunlink(path: string,req: FSReqCallback): void;
206-
functionunlink(path: string,req: undefined,ctx: FSSyncContext): void;
206+
functionunlink(path: string): void;
207207
functionunlink(path: string,usePromises: typeofkUsePromises): Promise<void>;
208208

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

0 commit comments

Comments
 (0)