`dcv_delegation_records` key does not exist in `CustomHostnameGetResponse.SSL` and `CustomHostnameEditResponse.SSL` · Issue #2677 · cloudflare/cloudflare-typescript · GitHub
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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
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'