mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
FileSystem root is a DirectoryEntry.
This is specified in the official standard: http://www.w3.org/TR/file-system-api/#the-filesystem-interface Interestingly enough, these typings already specify the `root` of FileSystemSync (the synchronous version of the API) to be a DirectorySync. This must have been an oversight of the original author of these typings.
This commit is contained in:
parent
efd1ae8747
commit
3a583df3e4
2
filesystem/filesystem.d.ts
vendored
2
filesystem/filesystem.d.ts
vendored
@ -110,7 +110,7 @@ interface FileSystem{
|
||||
* The root directory of the file system.
|
||||
* @readonly
|
||||
*/
|
||||
root:any;
|
||||
root: DirectoryEntry;
|
||||
}
|
||||
|
||||
interface Entry {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user