Currently, IconType is defined as:
export type IconType = (typeof iconNames)[number];`
Since iconNames is currently typed as a string[], IconType effectively resolves to string. We need to update it to produce a restricted string union instead, which will introduce a breaking change for consumer apps.
Currently,
IconTypeis defined as:Since
iconNamesis currently typed as astring[],IconTypeeffectively resolves tostring. We need to update it to produce a restricted string union instead, which will introduce a breaking change for consumer apps.