@@ -92,13 +92,13 @@ declare namespace tg {
92
92
93
93
/** Compress a blob. **/
94
94
export let compress : (
95
- blob : tg . Blob ,
95
+ blob : tg . Blob | tg . File ,
96
96
format : tg . Blob . CompressionFormat ,
97
97
) => Promise < tg . Blob > ;
98
98
99
99
/** Decompress a blob. **/
100
100
export let decompress : (
101
- blob : tg . Blob ,
101
+ blob : tg . Blob | tg . File ,
102
102
) => Promise < tg . Blob > ;
103
103
104
104
/** Download the contents of a URL. */
@@ -125,13 +125,13 @@ declare namespace tg {
125
125
126
126
/** Compress a blob. **/
127
127
export let compress : (
128
- blob : tg . Blob ,
128
+ blob : tg . Blob | tg . File ,
129
129
format : tg . Blob . CompressionFormat ,
130
130
) => Promise < tg . Blob > ;
131
131
132
132
/** Decompress a blob. **/
133
133
export let decompress : (
134
- blob : tg . Blob ,
134
+ blob : tg . Blob | tg . File ,
135
135
) => Promise < tg . Blob > ;
136
136
137
137
/** Download a blob. **/
@@ -238,7 +238,7 @@ declare namespace tg {
238
238
239
239
/** Extract an artifact from an archive. **/
240
240
export let extract : (
241
- blob : tg . Blob ,
241
+ blob : tg . Blob | tg . File ,
242
242
) => Promise < tg . Artifact > ;
243
243
244
244
/** Bundle an artifact. **/
@@ -271,7 +271,7 @@ declare namespace tg {
271
271
272
272
/** Extract an artifact from an archive. **/
273
273
export let extract : (
274
- blob : tg . Blob ,
274
+ blob : tg . Blob | tg . File ,
275
275
) => Promise < tg . Artifact > ;
276
276
277
277
/** Bundle an artifact. **/
0 commit comments