mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
temp-fs: Allow "open" to take just the callback (#19066)
This commit is contained in:
parent
924fafffc0
commit
491b48e136
1
types/temp-fs/index.d.ts
vendored
1
types/temp-fs/index.d.ts
vendored
@ -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;
|
||||
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user