Constrain emoji skins type even further

Signed-off-by: Robin Townsend <robin@robin.town>
This commit is contained in:
Robin Townsend 2021-07-20 07:46:54 -04:00
parent e9963cd22c
commit bd80201643

View File

@ -25,7 +25,7 @@ export interface IEmoji {
shortcodes: string[];
tags?: string[];
unicode: string;
skins?: Omit<IEmoji, "shortcodes">[]; // Currently unused
skins?: Omit<IEmoji, "shortcodes" | "tags">[]; // Currently unused
emoticon?: string;
}