temp-fs: Allow "open" to take just the callback (#19066)

This commit is contained in:
Andy
2017-08-21 07:33:25 -07:00
committed by GitHub
parent 924fafffc0
commit 491b48e136
+1
View File
@@ -180,6 +180,7 @@ declare namespace tempfs {
* <code>null</code>, <code>file</code> 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;
/**