mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
Certain methods always return a specific Entry type. Define more specific callbacks so that typescript can infer when an Entry is a DirectoryEntry or FileEntry, removing the need to explicitly state the type in certain callbacks. Existing code using this definition should not be broken as a result of this change. Signed-off-by: David Li <jiawei.davidli@gmail.com> |
||
|---|---|---|
| .. | ||
| filesystem-tests.ts | ||
| filesystem.d.ts | ||