refactor: correct type autocomplete for <Icon/> type
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
export type VectorIconNameOrEmoji = EmojiString | IconType
|
export type VectorIconNameOrEmoji = EmojiString | IconType
|
||||||
|
|
||||||
export type EmojiString = string
|
export type EmojiString = Omit<string, IconType>
|
||||||
|
|
||||||
export type IconType =
|
export type IconType =
|
||||||
| 'accessibility'
|
| 'accessibility'
|
||||||
|
|||||||
Reference in New Issue
Block a user