Confirm this is a Typescript library issue and not an underlying Cloudflare API issue
Describe the bug
At the moment Cloudflare API is responding dcv_delegation_records key in the ssl object, but the SSL object does not have this key. This does not make any error in the compile time or run time, but result an false error report on the TypeScript type check while coding
To Reproduce
- Create Cloudflare client:
const cf = Cloudflare({ apiToken: c.env.CLOUDFLARE_API_TOKEN })
- Create a new hostname (or edit an existing one):
const cfData = cf.customHostnames.create({...})
- Get the
dcv_delegation_records key from the response: cfData.ssl.dcv_delegation_records, this will result an error: Property 'dcv_delegation_records' does not exist on type 'SSL'
Code snippets
OS
any
Runtime version
any
Library version
5.1.0