refactor: correct type autocomplete for <Icon/> type

This commit is contained in:
Aman Harwara
2022-11-27 16:33:52 +05:30
parent 931b674e4e
commit cadf03f0ef

View File

@@ -1,6 +1,6 @@
export type VectorIconNameOrEmoji = EmojiString | IconType
export type EmojiString = string
export type EmojiString = Omit<string, IconType>
export type IconType =
| 'accessibility'