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: {
5123
5123
5124
5124
/** Available only in secure contexts. */
5125
5125
interface FileSystemDirectoryHandle extends FileSystemHandle {
5126
+ readonly kind: "directory";
5126
5127
getDirectoryHandle(name: string, options?: FileSystemGetDirectoryOptions): Promise<FileSystemDirectoryHandle>;
5127
5128
getFileHandle(name: string, options?: FileSystemGetFileOptions): Promise<FileSystemFileHandle>;
5128
5129
removeEntry(name: string, options?: FileSystemRemoveOptions): Promise<void>;
@@ -5168,6 +5169,7 @@ declare var FileSystemFileEntry: {
5168
5169
5169
5170
/** Available only in secure contexts. */
5170
5171
interface FileSystemFileHandle extends FileSystemHandle {
5172
+ readonly kind: "file";
5171
5173
getFile(): Promise<File>;
5172
5174
}
5173
5175
Original file line number Diff line number Diff line change @@ -1482,6 +1482,7 @@ declare var FileReader: {
1482
1482
1483
1483
/** Available only in secure contexts. */
1484
1484
interface FileSystemDirectoryHandle extends FileSystemHandle {
1485
+ readonly kind : "directory" ;
1485
1486
getDirectoryHandle ( name : string , options ?: FileSystemGetDirectoryOptions ) : Promise < FileSystemDirectoryHandle > ;
1486
1487
getFileHandle ( name : string , options ?: FileSystemGetFileOptions ) : Promise < FileSystemFileHandle > ;
1487
1488
removeEntry ( name : string , options ?: FileSystemRemoveOptions ) : Promise < void > ;
@@ -1495,6 +1496,7 @@ declare var FileSystemDirectoryHandle: {
1495
1496
1496
1497
/** Available only in secure contexts. */
1497
1498
interface FileSystemFileHandle extends FileSystemHandle {
1499
+ readonly kind : "file" ;
1498
1500
getFile ( ) : Promise < File > ;
1499
1501
}
1500
1502
Original file line number Diff line number Diff line change @@ -1402,6 +1402,7 @@ declare var FileReaderSync: {
1402
1402
1403
1403
/** Available only in secure contexts. */
1404
1404
interface FileSystemDirectoryHandle extends FileSystemHandle {
1405
+ readonly kind : "directory" ;
1405
1406
getDirectoryHandle ( name : string , options ?: FileSystemGetDirectoryOptions ) : Promise < FileSystemDirectoryHandle > ;
1406
1407
getFileHandle ( name : string , options ?: FileSystemGetFileOptions ) : Promise < FileSystemFileHandle > ;
1407
1408
removeEntry ( name : string , options ?: FileSystemRemoveOptions ) : Promise < void > ;
@@ -1415,6 +1416,7 @@ declare var FileSystemDirectoryHandle: {
1415
1416
1416
1417
/** Available only in secure contexts. */
1417
1418
interface FileSystemFileHandle extends FileSystemHandle {
1419
+ readonly kind : "file" ;
1418
1420
getFile ( ) : Promise < File > ;
1419
1421
}
1420
1422
Original file line number Diff line number Diff line change @@ -1534,6 +1534,7 @@ declare var FileReaderSync: {
1534
1534
1535
1535
/** Available only in secure contexts. */
1536
1536
interface FileSystemDirectoryHandle extends FileSystemHandle {
1537
+ readonly kind : "directory" ;
1537
1538
getDirectoryHandle ( name : string , options ?: FileSystemGetDirectoryOptions ) : Promise < FileSystemDirectoryHandle > ;
1538
1539
getFileHandle ( name : string , options ?: FileSystemGetFileOptions ) : Promise < FileSystemFileHandle > ;
1539
1540
removeEntry ( name : string , options ?: FileSystemRemoveOptions ) : Promise < void > ;
@@ -1547,6 +1548,7 @@ declare var FileSystemDirectoryHandle: {
1547
1548
1548
1549
/** Available only in secure contexts. */
1549
1550
interface FileSystemFileHandle extends FileSystemHandle {
1551
+ readonly kind : "file" ;
1550
1552
getFile ( ) : Promise < File > ;
1551
1553
}
1552
1554
Original file line number Diff line number Diff line change 1060
1060
}
1061
1061
]
1062
1062
}
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
+ }
1063
1087
}
1064
1088
}
1065
1089
},
You can’t perform that action at this time.
0 commit comments