From 3a583df3e4e450bc0d64565cace8defd35a87eed Mon Sep 17 00:00:00 2001 From: John Vilk Date: Mon, 24 Mar 2014 12:24:46 -0400 Subject: [PATCH] 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. --- filesystem/filesystem.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/filesystem/filesystem.d.ts b/filesystem/filesystem.d.ts index d3447f162f..11fb48dd01 100644 --- a/filesystem/filesystem.d.ts +++ b/filesystem/filesystem.d.ts @@ -110,7 +110,7 @@ interface FileSystem{ * The root directory of the file system. * @readonly */ - root:any; + root: DirectoryEntry; } interface Entry {