FileSystem `root` is a DirectoryEntry.
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.

tjoskar/DefinitelyTyped,DeluxZ/DefinitelyTyped,wbuchwalter/DefinitelyTyped,vsavkin/DefinitelyTyped,giggio/DefinitelyTyped,brentonhouse/DefinitelyTyped,abbasmhd/DefinitelyTyped,tarruda/DefinitelyTyped,david-driscoll/DefinitelyTyped,slavomirvojacek/DefinitelyTyped,alainsahli/DefinitelyTyped,chrilith/DefinitelyTyped,nojaf/DefinitelyTyped,awerlang/DefinitelyTyped,psnider/DefinitelyTyped,schmuli/DefinitelyTyped,danfma/DefinitelyTyped,laball/DefinitelyTyped,fnipo/DefinitelyTyped,arusakov/DefinitelyTyped,Litee/DefinitelyTyped,davidsidlinger/DefinitelyTyped,paulmorphy/DefinitelyTyped,borisyankov/DefinitelyTyped,markogresak/DefinitelyTyped,lightswitch05/DefinitelyTyped,wkrueger/DefinitelyTyped,manekovskiy/DefinitelyTyped,nobuoka/DefinitelyTyped,theyelllowdart/DefinitelyTyped,AbraaoAlves/DefinitelyTyped,panuhorsmalahti/DefinitelyTyped,nseckinoral/DefinitelyTyped,isman-usoh/DefinitelyTyped,abner/DefinitelyTyped,dreampulse/DefinitelyTyped,syuilo/DefinitelyTyped,HPFOD/DefinitelyTyped,ErykB2000/DefinitelyTyped,stimms/DefinitelyTyped,abner/DefinitelyTyped,chadoliver/DefinitelyTyped,trystanclarke/DefinitelyTyped,Minishlink/DefinitelyTyped,aqua89/DefinitelyTyped,UzEE/DefinitelyTyped,rschmukler/DefinitelyTyped,rockclimber90/DefinitelyTyped,jsaelhof/DefinitelyTyped,stacktracejs/DefinitelyTyped,zhiyiting/DefinitelyTyped,bdukes/DefinitelyTyped,xStrom/DefinitelyTyped,takfjt/DefinitelyTyped,Zzzen/DefinitelyTyped,dydek/DefinitelyTyped,cesarmarinhorj/DefinitelyTyped,DenEwout/DefinitelyTyped,florentpoujol/DefinitelyTyped,elisee/DefinitelyTyped,Syati/DefinitelyTyped,ashwinr/DefinitelyTyped,pocke/DefinitelyTyped,elisee/DefinitelyTyped,JaminFarr/DefinitelyTyped,furny/DefinitelyTyped,gedaiu/DefinitelyTyped,cherrydev/DefinitelyTyped,raijinsetsu/DefinitelyTyped,duongphuhiep/DefinitelyTyped,AbraaoAlves/DefinitelyTyped,pkhayundi/DefinitelyTyped,JeremyCBrooks/DefinitelyTyped,vote539/DefinitelyTyped,hellopao/DefinitelyTyped,NelsonLamprecht/DefinitelyTyped,anweiss/DefinitelyTyped,modifyink/DefinitelyTyped,hellopao/DefinitelyTyped,kuon/DefinitelyTyped,tinganho/DefinitelyTyped,bdoss/DefinitelyTyped,nobuoka/DefinitelyTyped,behzad888/DefinitelyTyped,tgfjt/DefinitelyTyped,donnut/DefinitelyTyped,schmuli/DefinitelyTyped,lseguin42/DefinitelyTyped,biomassives/DefinitelyTyped,wcomartin/DefinitelyTyped,almstrand/DefinitelyTyped,RedSeal-co/DefinitelyTyped,Riron/DefinitelyTyped,Zorgatone/DefinitelyTyped,GlennQuirynen/DefinitelyTyped,Fraegle/DefinitelyTyped,aaharu/DefinitelyTyped,aciccarello/DefinitelyTyped,Penryn/DefinitelyTyped,bayitajesi/DefinitelyTyped,donnut/DefinitelyTyped,RX14/DefinitelyTyped,brainded/DefinitelyTyped,tomtarrot/DefinitelyTyped,aciccarello/DefinitelyTyped,pocesar/DefinitelyTyped,jraymakers/DefinitelyTyped,paulbakker/DefinitelyTyped,rfranco/DefinitelyTyped,akonwi/DefinitelyTyped,miguelmq/DefinitelyTyped,Ridermansb/DefinitelyTyped,Deathspike/DefinitelyTyped,chrismbarr/DefinitelyTyped,mshmelev/DefinitelyTyped,Seikho/DefinitelyTyped,olemp/DefinitelyTyped,chrismbarr/DefinitelyTyped,Dashlane/DefinitelyTyped,Belelros/DefinitelyTyped,Karabur/DefinitelyTyped,GregOnNet/DefinitelyTyped,digitalpixies/DefinitelyTyped,frogcjn/DefinitelyTyped,thSoft/DefinitelyTyped,angelobelchior8/DefinitelyTyped,glenndierckx/DefinitelyTyped,ashwinr/DefinitelyTyped,applesaucers/lodash-invokeMap,opichals/DefinitelyTyped,robert-voica/DefinitelyTyped,flyfishMT/DefinitelyTyped,thSoft/DefinitelyTyped,Saneyan/DefinitelyTyped,hesselink/DefinitelyTyped,stimms/DefinitelyTyped,Pro/DefinitelyTyped,davidpricedev/DefinitelyTyped,OpenMaths/DefinitelyTyped,dumbmatter/DefinitelyTyped,masonkmeyer/DefinitelyTyped,jesseschalken/DefinitelyTyped,mweststrate/DefinitelyTyped,shlomiassaf/DefinitelyTyped,mattblang/DefinitelyTyped,unknownloner/DefinitelyTyped,dmoonfire/DefinitelyTyped,georgemarshall/DefinitelyTyped,raijinsetsu/DefinitelyTyped,jraymakers/DefinitelyTyped,greglockwood/DefinitelyTyped,akonwi/DefinitelyTyped,mattblang/DefinitelyTyped,AgentME/DefinitelyTyped,musically-ut/DefinitelyTyped,philippsimon/DefinitelyTyped,AyaMorisawa/DefinitelyTyped,slavomirvojacek/adbrain-typescript-definitions,Shiak1/DefinitelyTyped,OfficeDev/DefinitelyTyped,lbesson/DefinitelyTyped,mrozhin/DefinitelyTyped,optical/DefinitelyTyped,alvarorahul/DefinitelyTyped,gyohk/DefinitelyTyped,rolandzwaga/DefinitelyTyped,reppners/DefinitelyTyped,forumone/DefinitelyTyped,TrabacchinLuigi/DefinitelyTyped,bruennijs/DefinitelyTyped,JeremyCBrooks/DefinitelyTyped,leoromanovsky/DefinitelyTyped,thSoft/DefinitelyTyped,sclausen/DefinitelyTyped,nmalaguti/DefinitelyTyped,danfma/DefinitelyTyped,gcastre/DefinitelyTyped,Trapulo/DefinitelyTyped,AyaMorisawa/DefinitelyTyped,greglo/DefinitelyTyped,PascalSenn/DefinitelyTyped,subjectix/DefinitelyTyped,yuit/DefinitelyTyped,florentpoujol/DefinitelyTyped,bobslaede/DefinitelyTyped,chrootsu/DefinitelyTyped,zuzusik/DefinitelyTyped,benishouga/DefinitelyTyped,emanuelhp/DefinitelyTyped,vpineda1996/DefinitelyTyped,QuatroCode/DefinitelyTyped,jccarvalhosa/DefinitelyTyped,georgemarshall/DefinitelyTyped,dydek/DefinitelyTyped,psnider/DefinitelyTyped,tgrospic/DefinitelyTyped,schmuli/DefinitelyTyped,abbasmhd/DefinitelyTyped,tgfjt/DefinitelyTyped,vasek17/DefinitelyTyped,anweiss/DefinitelyTyped,tgrospic/DefinitelyTyped,jeremyhayes/DefinitelyTyped,Zenorbi/DefinitelyTyped,bkristensen/DefinitelyTyped,toedter/DefinitelyTyped,DeadAlready/DefinitelyTyped,minodisk/DefinitelyTyped,dragouf/DefinitelyTyped,damianog/DefinitelyTyped,billccn/DefinitelyTyped,modifyink/DefinitelyTyped,xswordsx/DefinitelyTyped,egeland/DefinitelyTyped,uestcNaldo/DefinitelyTyped,martinduparc/DefinitelyTyped,Zorgatone/DefinitelyTyped,mattanja/DefinitelyTyped,PopSugar/DefinitelyTyped,newclear/DefinitelyTyped,RX14/DefinitelyTyped,dariajung/DefinitelyTyped,timramone/DefinitelyTyped,jasonswearingen/DefinitelyTyped,yuit/DefinitelyTyped,Pipe-shen/DefinitelyTyped,algorithme/DefinitelyTyped,isman-usoh/DefinitelyTyped,vagarenko/DefinitelyTyped,M-Zuber/DefinitelyTyped,Softpagehomeware/DefinitelyTyped,takenet/DefinitelyTyped,jeffbcross/DefinitelyTyped,wilfrem/DefinitelyTyped,arcticwaters/DefinitelyTyped,nelsonmorais/DefinitelyTyped,maxlang/DefinitelyTyped,sledorze/DefinitelyTyped,timjk/DefinitelyTyped,nainslie/DefinitelyTyped,ajtowf/DefinitelyTyped,GiedriusGrabauskas/DefinitelyTyped,grahammendick/DefinitelyTyped,johan-gorter/DefinitelyTyped,benishouga/DefinitelyTyped,evansolomon/DefinitelyTyped,WritingPanda/DefinitelyTyped,hor-crux/DefinitelyTyped,alexdresko/DefinitelyTyped,ryan-codingintrigue/DefinitelyTyped,the41/DefinitelyTyped,herrmanno/DefinitelyTyped,BrandonCKrueger/DefinitelyTyped,dpsthree/DefinitelyTyped,progre/DefinitelyTyped,nitintutlani/DefinitelyTyped,mwain/DefinitelyTyped,aciccarello/DefinitelyTyped,gildorwang/DefinitelyTyped,newclear/DefinitelyTyped,hafenr/DefinitelyTyped,shiwano/DefinitelyTyped,scriby/DefinitelyTyped,miguelmq/DefinitelyTyped,MarlonFan/DefinitelyTyped,sledorze/DefinitelyTyped,fishgoh0nk/DefinitelyTyped,flyfishMT/DefinitelyTyped,use-strict/DefinitelyTyped,MugeSo/DefinitelyTyped,aindlq/DefinitelyTyped,jiaz/DefinitelyTyped,trystanclarke/DefinitelyTyped,sergey-buturlakin/DefinitelyTyped,amir-arad/DefinitelyTyped,bobslaede/DefinitelyTyped,hatz48/DefinitelyTyped,nycdotnet/DefinitelyTyped,jimthedev/DefinitelyTyped,pocesar/DefinitelyTyped,igorraush/DefinitelyTyped,amanmahajan7/DefinitelyTyped,teves-castro/DefinitelyTyped,stanislavHamara/DefinitelyTyped,alextkachman/DefinitelyTyped,mszczepaniak/DefinitelyTyped,QuatroCode/DefinitelyTyped,GodsBreath/DefinitelyTyped,paulbakker/DefinitelyTyped,philippsimon/DefinitelyTyped,bardt/DefinitelyTyped,darkl/DefinitelyTyped,quantumman/DefinitelyTyped,PawelStroinski/DefinitelyTyped,duncanmak/DefinitelyTyped,ahmedalsudani/DefinitelyTyped,georgemarshall/DefinitelyTyped,smrq/DefinitelyTyped,abmohan/DefinitelyTyped,jimthedev/DefinitelyTyped,hiraash/DefinitelyTyped,mshmelev/DefinitelyTyped,bdukes/DefinitelyTyped,chrootsu/DefinitelyTyped,pafflique/DefinitelyTyped,subash-a/DefinitelyTyped,chocolatechipui/DefinitelyTyped,jaysoo/DefinitelyTyped,progre/DefinitelyTyped,nodeframe/DefinitelyTyped,alexdresko/DefinitelyTyped,johan-gorter/DefinitelyTyped,nitintutlani/DefinitelyTyped,AgentME/DefinitelyTyped,behzad888/DefinitelyTyped,Airblader/DefinitelyTyped,aaharu/DefinitelyTyped,fearthecowboy/DefinitelyTyped,evandrewry/DefinitelyTyped,lukehoban/DefinitelyTyped,whoeverest/DefinitelyTyped,jimthedev/DefinitelyTyped,igorsechyn/DefinitelyTyped,arueckle/DefinitelyTyped,tan9/DefinitelyTyped,iCoreSolutions/DefinitelyTyped,arusakov/DefinitelyTyped,magny/DefinitelyTyped,HPFOD/DefinitelyTyped,syntax42/DefinitelyTyped,shlomiassaf/DefinitelyTyped,cvrajeesh/DefinitelyTyped,bdoss/DefinitelyTyped,superduper/DefinitelyTyped,IAPark/DefinitelyTyped,CodeZombieCH/DefinitelyTyped,ducin/DefinitelyTyped,basp/DefinitelyTyped,gorcz/DefinitelyTyped,lbguilherme/DefinitelyTyped,johnnycrab/DefinitelyTyped,aroder/DefinitelyTyped,laurentiustamate94/DefinitelyTyped,mareek/DefinitelyTyped,paypac/DefinitelyTyped,axefrog/DefinitelyTyped,CodeZombieCH/DefinitelyTyped,david-driscoll/DefinitelyTyped,DzmitryDulko/DefinitelyTyped,mvarblow/DefinitelyTyped,borisyankov/DefinitelyTyped,erosb/DefinitelyTyped,dwango-js/DefinitelyTyped,dsebastien/DefinitelyTyped,bilou84/DefinitelyTyped,fredgalvao/DefinitelyTyped,stacktracejs/DefinitelyTyped,GiedriusGrabauskas/DefinitelyTyped,jsaelhof/DefinitelyTyped,arusakov/DefinitelyTyped,gregoryagu/DefinitelyTyped,damianog/DefinitelyTyped,rolandzwaga/DefinitelyTyped,david-driscoll/DefinitelyTyped,Gmulti/DefinitelyTyped,TheBay0r/DefinitelyTyped,gcastre/DefinitelyTyped,amanmahajan7/DefinitelyTyped,stephenjelfs/DefinitelyTyped,johnnycrab/DefinitelyTyped,tomtheisen/DefinitelyTyped,bayitajesi/DefinitelyTyped,egeland/DefinitelyTyped,syuilo/DefinitelyTyped,drillbits/DefinitelyTyped,vagarenko/DefinitelyTyped,KonaTeam/DefinitelyTyped,subash-a/DefinitelyTyped,zuohaocheng/DefinitelyTyped,Mek7/DefinitelyTyped,bayitajesi/DefinitelyTyped,nycdotnet/DefinitelyTyped,musakarakas/DefinitelyTyped,stylelab-io/DefinitelyTyped,olivierlemasle/DefinitelyTyped,zensh/DefinitelyTyped,mcrawshaw/DefinitelyTyped,michaelbromley/DefinitelyTyped,innerverse/DefinitelyTyped,TrabacchinLuigi/DefinitelyTyped,YousefED/DefinitelyTyped,benishouga/DefinitelyTyped,Airblader/DefinitelyTyped,reppners/DefinitelyTyped,Nemo157/DefinitelyTyped,bridge-ufsc/DefinitelyTyped,bennett000/DefinitelyTyped,samwgoldman/DefinitelyTyped,Penryn/DefinitelyTyped,PawelStroinski/DefinitelyTyped,TildaLabs/DefinitelyTyped,jpevarnek/DefinitelyTyped,EnableSoftware/DefinitelyTyped,Ptival/DefinitelyTyped,axelcostaspena/DefinitelyTyped,rschmukler/DefinitelyTyped,olemp/DefinitelyTyped,OpenMaths/DefinitelyTyped,Airblader/DefinitelyTyped,AbraaoAlves/DefinitelyTyped,Belelros/DefinitelyTyped,iislucas/DefinitelyTyped,aldo-roman/DefinitelyTyped,AGBrown/DefinitelyTyped-ABContrib,bridge-ufsc/DefinitelyTyped,paulbakker/DefinitelyTyped,frogcjn/DefinitelyTyped,adamcarr/DefinitelyTyped,Zzzen/DefinitelyTyped,philippstucki/DefinitelyTyped,Almouro/DefinitelyTyped,paypac/DefinitelyTyped,richardTowers/DefinitelyTyped,emanuelhp/DefinitelyTyped,Bunkerbewohner/DefinitelyTyped,MugeSo/DefinitelyTyped,Belelros/DefinitelyTyped,mjjames/DefinitelyTyped,Syati/DefinitelyTyped,Pro/DefinitelyTyped,gdi2290/DefinitelyTyped,jtlan/DefinitelyTyped,sixinli/DefinitelyTyped,LordJZ/DefinitelyTyped,NCARalph/DefinitelyTyped,YousefED/DefinitelyTyped,zuzusik/DefinitelyTyped,brettle/DefinitelyTyped,takenet/DefinitelyTyped,michaelbromley/DefinitelyTyped,MidnightDesign/DefinitelyTyped,Carreau/DefinitelyTyped,adammartin1981/DefinitelyTyped,mhegazy/DefinitelyTyped,arma-gast/DefinitelyTyped,Garciat/DefinitelyTyped,tdmckinn/DefinitelyTyped,anweiss/DefinitelyTyped,sandersky/DefinitelyTyped,chbrown/DefinitelyTyped,slavomirvojacek/DefinitelyTyped,arma-gast/DefinitelyTyped,nabeix/DefinitelyTyped,kalloc/DefinitelyTyped,mareek/DefinitelyTyped,eekboom/DefinitelyTyped,tscho/DefinitelyTyped,stephenjelfs/DefinitelyTyped,sergey-buturlakin/DefinitelyTyped,hatz48/DefinitelyTyped,bennett000/DefinitelyTyped,scriby/DefinitelyTyped,dflor003/DefinitelyTyped,mendix/DefinitelyTyped,paypac/DefinitelyTyped,esperco/DefinitelyTyped,michalczukm/DefinitelyTyped,mcliment/DefinitelyTyped,rerezz/DefinitelyTyped,nainslie/DefinitelyTyped,use-strict/DefinitelyTyped,paulmorphy/DefinitelyTyped,JeremyCBrooks/DefinitelyTyped,scsouthw/DefinitelyTyped,tan9/DefinitelyTyped,nakakura/DefinitelyTyped,xica/DefinitelyTyped,robertbaker/DefinitelyTyped,musicist288/DefinitelyTyped,Jwsonic/DefinitelyTyped,greglo/DefinitelyTyped,kmeurer/DefinitelyTyped,Dominator008/DefinitelyTyped,vote539/DefinitelyTyped,rushi216/DefinitelyTyped,minodisk/DefinitelyTyped,AgentME/DefinitelyTyped,Wordenskjold/DefinitelyTyped,GlennQuirynen/DefinitelyTyped,HereSinceres/DefinitelyTyped,CSharpFan/DefinitelyTyped,Litee/DefinitelyTyped,laco0416/DefinitelyTyped,lekaha/DefinitelyTyped,teddyward/DefinitelyTyped,DustinWehr/DefinitelyTyped,paypac/DefinitelyTyped,bdukes/DefinitelyTyped,maglar0/DefinitelyTyped,hellopao/DefinitelyTyped,Seltzer/DefinitelyTyped,optical/DefinitelyTyped,kanreisa/DefinitelyTyped,ryan10132/DefinitelyTyped,moonpyk/DefinitelyTyped,benliddicott/DefinitelyTyped,rcchen/DefinitelyTyped,PawelStroinski/DefinitelyTyped,ecramer89/DefinitelyTyped,slavomirvojacek/adbrain-typescript-definitions,applesaucers/lodash-invokeMap,akonwi/DefinitelyTyped,shiwano/DefinitelyTyped,Kuniwak/DefinitelyTyped,haskellcamargo/DefinitelyTyped,UzEE/DefinitelyTyped,felipe3dfx/DefinitelyTyped,Chris380/DefinitelyTyped,axefrog/DefinitelyTyped,muenchdo/DefinitelyTyped,alextkachman/DefinitelyTyped,spearhead-ea/DefinitelyTyped,TanakaYutaro/DefinitelyTyped,drinchev/DefinitelyTyped,Softpagehomeware/DefinitelyTyped,eugenpodaru/DefinitelyTyped,glenndierckx/DefinitelyTyped,shovon/DefinitelyTyped,blink1073/DefinitelyTyped,goaty92/DefinitelyTyped,tboyce/DefinitelyTyped,nfriend/DefinitelyTyped,smrq/DefinitelyTyped,alvarorahul/DefinitelyTyped,tigerxy/DefinitelyTyped,psnider/DefinitelyTyped,philippstucki/DefinitelyTyped,esperco/DefinitelyTyped,SebastianCoetzee/DefinitelyTyped,panuhorsmalahti/DefinitelyTyped,DzmitryDulko/DefinitelyTyped,jasonswearingen/DefinitelyTyped,pocesar/DefinitelyTyped,sclausen/DefinitelyTyped,magny/DefinitelyTyped,gandjustas/DefinitelyTyped,icereed/DefinitelyTyped,aaharu/DefinitelyTyped,mattanja/DefinitelyTyped,pwelter34/DefinitelyTyped,michaelbromley/DefinitelyTyped,iislucas/DefinitelyTyped,teves-castro/DefinitelyTyped,fredgalvao/DefinitelyTyped,mcrawshaw/DefinitelyTyped,robl499/DefinitelyTyped,one-pieces/DefinitelyTyped,axefrog/DefinitelyTyped,Airblader/DefinitelyTyped,deeleman/DefinitelyTyped,Dominator008/DefinitelyTyped,gandjustas/DefinitelyTyped,micurs/DefinitelyTyped,pwelter34/DefinitelyTyped,munxar/DefinitelyTyped,bluong/DefinitelyTyped,tgrospic/DefinitelyTyped,Bobjoy/DefinitelyTyped,omidkrad/DefinitelyTyped,bdukes/DefinitelyTyped,onecentlin/DefinitelyTyped,samdark/DefinitelyTyped,ml-workshare/DefinitelyTyped,johnnycrab/DefinitelyTyped,ciriarte/DefinitelyTyped,hx0day/DefinitelyTyped,acepoblete/DefinitelyTyped,bencoveney/DefinitelyTyped,jacqt/DefinitelyTyped,toedter/DefinitelyTyped,mrk21/DefinitelyTyped,nmalaguti/DefinitelyTyped,vincentw56/DefinitelyTyped,ayanoin/DefinitelyTyped,mhegazy/DefinitelyTyped,Dashlane/DefinitelyTyped,behzad88/DefinitelyTyped,Lorisu/DefinitelyTyped,nakakura/DefinitelyTyped,zuzusik/DefinitelyTyped,rcchen/DefinitelyTyped,scatcher/DefinitelyTyped,dsebastien/DefinitelyTyped,corps/DefinitelyTyped,mjjames/DefinitelyTyped,martinduparc/DefinitelyTyped,drinchev/DefinitelyTyped,shahata/DefinitelyTyped,Ptival/DefinitelyTyped,stimms/DefinitelyTyped,hypno2000/typings,zalamtech/DefinitelyTyped,Karabur/DefinitelyTyped,dmoonfire/DefinitelyTyped,daptiv/DefinitelyTyped,ajtowf/DefinitelyTyped,Belelros/DefinitelyTyped,gyohk/DefinitelyTyped,onecentlin/DefinitelyTyped,georgemarshall/DefinitelyTyped,Wordenskjold/DefinitelyTyped,axefrog/DefinitelyTyped,jbrantly/DefinitelyTyped,paxibay/DefinitelyTyped,AgentME/DefinitelyTyped,kabogo/DefinitelyTyped,bjfletcher/DefinitelyTyped,lucyhe/DefinitelyTyped,xStrom/DefinitelyTyped,wilfrem/DefinitelyTyped,toedter/DefinitelyTyped,arcticwaters/DefinitelyTyped,EnableSoftware/DefinitelyTyped,davidpricedev/DefinitelyTyped,bpowers/DefinitelyTyped,martinduparc/DefinitelyTyped