Open
Description
Confirm this is a Typescript library issue and not an underlying Cloudflare API issue
- This is an issue with the Typescript library
Describe the bug
The type are defined here
result.resources.bindings
is returned as an array of binding - that is expected.
How the types define bindings
as in interface with a result
property holding the array.
To Reproduce
Code snippets
console.log(await client.workers.scripts.versions.get(scriptName, versionId, {
account_id: accountId,
}).resources.bindings);
OS
macOS
Runtime version
TypeScript
Library version
4.4.1
Metadata
Metadata
Assignees
Labels
No labels