mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-07 09:49:07 +00:00
atom: fix callback signature for Directory.getEntries()
This commit is contained in:
2
types/atom/index.d.ts
vendored
2
types/atom/index.d.ts
vendored
@@ -3341,7 +3341,7 @@ export class Directory {
|
||||
getEntriesSync(): Array<File|Directory>;
|
||||
|
||||
/** Reads file entries in this directory from disk asynchronously. */
|
||||
getEntries(callback: (error: Error, entries: Array<File|Directory>) => void): void;
|
||||
getEntries(callback: (error: Error|null, entries: Array<File|Directory>) => void): void;
|
||||
|
||||
/**
|
||||
* Determines if the given path (real or symbolic) is inside this directory. This
|
||||
|
||||
Reference in New Issue
Block a user