Skip to content
This repository was archived by the owner on Feb 7, 2023. It is now read-only.

Commit 97499a2

Browse files
author
autodecl-bot[bot]
authored
Updated types for 2022-05-05 (#232)
Co-authored-by: autodecl-bot[bot] <91285878+autodecl-bot[bot]@users.noreply.github.com>
1 parent 18ca7fc commit 97499a2

File tree

3 files changed

+8
-18
lines changed

3 files changed

+8
-18
lines changed

.changeset/2022-05-05.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@cloudflare/workers-types": minor
3+
---
4+
5+
Updated auto-generated types @ 2022-05-05

index.d.ts

+1-4
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,7 @@ declare abstract class Crypto {
231231
| BigUint64Array
232232
>(buffer: T): T;
233233
randomUUID(): string;
234+
DigestStream: typeof DigestStream;
234235
}
235236

236237
declare abstract class CryptoKey {
@@ -1028,10 +1029,6 @@ interface R2Conditional {
10281029
uploadedAfter?: Date;
10291030
}
10301031

1031-
interface R2Error {
1032-
readonly stack: string;
1033-
}
1034-
10351032
/**
10361033
* Options for retrieving the object metadata nad payload.
10371034
*/

src/workers.json

+2-14
Original file line numberDiff line numberDiff line change
@@ -1267,7 +1267,8 @@
12671267
]
12681268
},
12691269
"static": true,
1270-
"readonly": true
1270+
"readonly": true,
1271+
"nested": true
12711272
}
12721273
],
12731274
"kind": "class"
@@ -7481,19 +7482,6 @@
74817482
},
74827483
"kind": "struct"
74837484
},
7484-
"R2Error": {
7485-
"name": "R2Error",
7486-
"members": [
7487-
{
7488-
"name": "stack",
7489-
"type": {
7490-
"name": "string"
7491-
},
7492-
"readonly": true
7493-
}
7494-
],
7495-
"kind": "struct"
7496-
},
74977485
"R2GetOptions": {
74987486
"name": "R2GetOptions",
74997487
"members": [

0 commit comments

Comments
 (0)