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

Commit

Permalink
Updated types for 2022-05-05 (#232)
Browse files Browse the repository at this point in the history
Co-authored-by: autodecl-bot[bot] <91285878+autodecl-bot[bot]@users.noreply.github.com>
  • Loading branch information
autodecl-bot[bot] committed May 10, 2022
1 parent 18ca7fc commit 97499a2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 18 deletions.
5 changes: 5 additions & 0 deletions .changeset/2022-05-05.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@cloudflare/workers-types": minor
---

Updated auto-generated types @ 2022-05-05
5 changes: 1 addition & 4 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@ declare abstract class Crypto {
| BigUint64Array
>(buffer: T): T;
randomUUID(): string;
DigestStream: typeof DigestStream;
}

declare abstract class CryptoKey {
Expand Down Expand Up @@ -1028,10 +1029,6 @@ interface R2Conditional {
uploadedAfter?: Date;
}

interface R2Error {
readonly stack: string;
}

/**
* Options for retrieving the object metadata nad payload.
*/
Expand Down
16 changes: 2 additions & 14 deletions src/workers.json
Original file line number Diff line number Diff line change
Expand Up @@ -1267,7 +1267,8 @@
]
},
"static": true,
"readonly": true
"readonly": true,
"nested": true
}
],
"kind": "class"
Expand Down Expand Up @@ -7481,19 +7482,6 @@
},
"kind": "struct"
},
"R2Error": {
"name": "R2Error",
"members": [
{
"name": "stack",
"type": {
"name": "string"
},
"readonly": true
}
],
"kind": "struct"
},
"R2GetOptions": {
"name": "R2GetOptions",
"members": [
Expand Down

0 comments on commit 97499a2

Please sign in to comment.