Production builds of Rancher Components fails #13211
Labels
QA/dev-automation
Issues that engineers have written automation around so QA doesn't have look at this
research-needed
Label for design issue that requires more technical research than what is in the issue description
status/dev-validate
Production builds of Rancher Components fail when attempting to infer the type of a component via
export type RcButtonType = InstanceType<typeof RcButton>
. This technique works in development builds and for in-editor hints, yet fails when running theyarn build:lib
command.Notes
Using
InstanceType<typeof RcButton>
allows for typescript to properly infer the types of Vue components, this is especially useful when using the composition api in components that utilizedefineExpose
The text was updated successfully, but these errors were encountered: