File tree Expand file tree Collapse file tree 5 files changed +32
-0
lines changed Expand file tree Collapse file tree 5 files changed +32
-0
lines changed Original file line number Diff line number Diff line change @@ -5123,6 +5123,7 @@ declare var FileSystemDirectoryEntry: {
51235123
51245124/** Available only in secure contexts. */
51255125interface FileSystemDirectoryHandle extends FileSystemHandle {
5126+ readonly kind: "directory";
51265127 getDirectoryHandle(name: string, options?: FileSystemGetDirectoryOptions): Promise<FileSystemDirectoryHandle>;
51275128 getFileHandle(name: string, options?: FileSystemGetFileOptions): Promise<FileSystemFileHandle>;
51285129 removeEntry(name: string, options?: FileSystemRemoveOptions): Promise<void>;
@@ -5168,6 +5169,7 @@ declare var FileSystemFileEntry: {
51685169
51695170/** Available only in secure contexts. */
51705171interface FileSystemFileHandle extends FileSystemHandle {
5172+ readonly kind: "file";
51715173 getFile(): Promise<File>;
51725174}
51735175
Original file line number Diff line number Diff line change @@ -1482,6 +1482,7 @@ declare var FileReader: {
14821482
14831483/** Available only in secure contexts. */
14841484interface FileSystemDirectoryHandle extends FileSystemHandle {
1485+ readonly kind : "directory" ;
14851486 getDirectoryHandle ( name : string , options ?: FileSystemGetDirectoryOptions ) : Promise < FileSystemDirectoryHandle > ;
14861487 getFileHandle ( name : string , options ?: FileSystemGetFileOptions ) : Promise < FileSystemFileHandle > ;
14871488 removeEntry ( name : string , options ?: FileSystemRemoveOptions ) : Promise < void > ;
@@ -1495,6 +1496,7 @@ declare var FileSystemDirectoryHandle: {
14951496
14961497/** Available only in secure contexts. */
14971498interface FileSystemFileHandle extends FileSystemHandle {
1499+ readonly kind : "file" ;
14981500 getFile ( ) : Promise < File > ;
14991501}
15001502
Original file line number Diff line number Diff line change @@ -1402,6 +1402,7 @@ declare var FileReaderSync: {
14021402
14031403/** Available only in secure contexts. */
14041404interface FileSystemDirectoryHandle extends FileSystemHandle {
1405+ readonly kind : "directory" ;
14051406 getDirectoryHandle ( name : string , options ?: FileSystemGetDirectoryOptions ) : Promise < FileSystemDirectoryHandle > ;
14061407 getFileHandle ( name : string , options ?: FileSystemGetFileOptions ) : Promise < FileSystemFileHandle > ;
14071408 removeEntry ( name : string , options ?: FileSystemRemoveOptions ) : Promise < void > ;
@@ -1415,6 +1416,7 @@ declare var FileSystemDirectoryHandle: {
14151416
14161417/** Available only in secure contexts. */
14171418interface FileSystemFileHandle extends FileSystemHandle {
1419+ readonly kind : "file" ;
14181420 getFile ( ) : Promise < File > ;
14191421}
14201422
Original file line number Diff line number Diff line change @@ -1534,6 +1534,7 @@ declare var FileReaderSync: {
15341534
15351535/** Available only in secure contexts. */
15361536interface FileSystemDirectoryHandle extends FileSystemHandle {
1537+ readonly kind : "directory" ;
15371538 getDirectoryHandle ( name : string , options ?: FileSystemGetDirectoryOptions ) : Promise < FileSystemDirectoryHandle > ;
15381539 getFileHandle ( name : string , options ?: FileSystemGetFileOptions ) : Promise < FileSystemFileHandle > ;
15391540 removeEntry ( name : string , options ?: FileSystemRemoveOptions ) : Promise < void > ;
@@ -1547,6 +1548,7 @@ declare var FileSystemDirectoryHandle: {
15471548
15481549/** Available only in secure contexts. */
15491550interface FileSystemFileHandle extends FileSystemHandle {
1551+ readonly kind : "file" ;
15501552 getFile ( ) : Promise < File > ;
15511553}
15521554
Original file line number Diff line number Diff line change 10601060 }
10611061 ]
10621062 }
1063+ },
1064+ "FileSystemFileHandle" : {
1065+ "name" : " FileSystemFileHandle" ,
1066+ "properties" : {
1067+ "property" : {
1068+ "kind" : {
1069+ "name" : " kind" ,
1070+ "readonly" : true ,
1071+ "overrideType" : " \" file\" "
1072+ }
1073+ }
1074+ }
1075+ },
1076+ "FileSystemDirectoryHandle" : {
1077+ "name" : " FileSystemDirectoryHandle" ,
1078+ "properties" : {
1079+ "property" : {
1080+ "kind" : {
1081+ "name" : " kind" ,
1082+ "readonly" : true ,
1083+ "overrideType" : " \" directory\" "
1084+ }
1085+ }
1086+ }
10631087 }
10641088 }
10651089 },
You can’t perform that action at this time.
0 commit comments