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:
John Vilk 2014-03-24 12:24:46 -04:00
parent efd1ae8747
commit 3a583df3e4

View File

@ -110,7 +110,7 @@ interface FileSystem{
* The root directory of the file system.
* @readonly
*/
root:any;
root: DirectoryEntry;
}
interface Entry {