mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-09 11:40:16 +08: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:
1 parent
efd1ae8747
commit
3a583df3e4
1 file changed
+1
-1
Vendored
+1
-1
@@ -110,7 +110,7 @@ interface FileSystem{
|
||||
* The root directory of the file system.
|
||||
* @readonly
|
||||
*/
|
||||
root:any;
|
||||
root: DirectoryEntry;
|
||||
}
|
||||
|
||||
interface Entry {
|
||||
|
||||
Reference in new issue
Block a user