From 491b48e136ac3049ffbaa3b23fa84c978eb13624 Mon Sep 17 00:00:00 2001 From: Andy Date: Mon, 21 Aug 2017 07:33:25 -0700 Subject: [PATCH] temp-fs: Allow "open" to take just the callback (#19066) --- types/temp-fs/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/types/temp-fs/index.d.ts b/types/temp-fs/index.d.ts index 3202d8ab3e..1e4ceddf6b 100644 --- a/types/temp-fs/index.d.ts +++ b/types/temp-fs/index.d.ts @@ -180,6 +180,7 @@ declare namespace tempfs { * null, file has the properties * of {@link file}. */ + function open(callback?:(err:any, file:file)=>any):any; function open(options?:options, callback?:(err:any, file:file)=>any):any; /**