contentstack / contentstack-cli-tsgen

Generate TypeScript typings from a Stack
MIT License
11 stars 7 forks source link

Types for extensions/custom fields #58

Open Exotelis opened 1 year ago

Exotelis commented 1 year ago

Hello,

thank you for creating this fantastic package. We've recently begun using it, and it has significantly improved our contentstack typing.

One observation we've made is that every extension/custom field currently returns the type any. Is there a possibility to implement typing for these cases too? In most instances, we know the types returned by various extensions, at least in about 99% of the cases.

shafeeqd959 commented 1 month ago

@Exotelis

Thank you for your valuable feedback. We recognize the importance of strong typing, and your observation regarding extension/custom field types is well noted. We'll investigate this further and prioritize adding type support for these cases in our upcoming roadmap.