When developing a theme, types are generated inside a playground. This makes it hard to properly link types while developing a theme. To improve this, types could also be generated inside the theme package to prevent issues with hoisting or circular type references.
Things to consider:
- Types are generated using the AIK utility
addDts. This utility only generates types inside a user project, this issue would require a custom utility (or an upstream addition to AIK) for type generation inside a package
- Where are these types generated inside a package?
virtual.d.ts?
When developing a theme, types are generated inside a playground. This makes it hard to properly link types while developing a theme. To improve this, types could also be generated inside the theme package to prevent issues with hoisting or circular type references.
Things to consider:
addDts. This utility only generates types inside a user project, this issue would require a custom utility (or an upstream addition to AIK) for type generation inside a packagevirtual.d.ts?