Constrain emoji skins type even further
Signed-off-by: Robin Townsend <robin@robin.town>
This commit is contained in:
parent
e9963cd22c
commit
bd80201643
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ export interface IEmoji {
|
||||||
shortcodes: string[];
|
shortcodes: string[];
|
||||||
tags?: string[];
|
tags?: string[];
|
||||||
unicode: string;
|
unicode: string;
|
||||||
skins?: Omit<IEmoji, "shortcodes">[]; // Currently unused
|
skins?: Omit<IEmoji, "shortcodes" | "tags">[]; // Currently unused
|
||||||
emoticon?: string;
|
emoticon?: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue