Closed gergobergo closed 2 months ago
Please check if your PR fulfills the following requirements:
What kind of change does this PR introduce?
After the TS check the type of the ´iconSize´ was string export type IconSize = DefinedSizes | string;
string
export type IconSize = DefinedSizes | string;
so the DefinedSizes didn't make any difference.
DefinedSizes
After the refactor the type still accepts any string, but the intelliSense will show the DefinedSizes values as a suggestion.
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
Which package are you modifying?
What is the current behavior?
After the TS check the type of the ´iconSize´ was
string
export type IconSize = DefinedSizes | string;
so the
DefinedSizes
didn't make any difference.What is the new behavior?
After the refactor the type still accepts any string, but the intelliSense will show the
DefinedSizes
values as a suggestion.Does this PR introduce a breaking change?
Other information