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.