1
0
mirror of https://github.com/twitter/twemoji.git synced 2024-06-15 03:35:16 +00:00

fix: Type 'void' is not assignable to type 'string' on twemoji.parse typing.

This commit is contained in:
Harold Thetiot 2022-03-15 17:44:49 +01:00
parent 36bac6943f
commit dfc22ce760

2
index.d.ts vendored
View File

@ -34,7 +34,7 @@ declare type Twemoji = {
fromCodePoint(hexCodePoint: string): string;
toCodePoint(utf16surrogatePairs: string): string;
};
parse(node: HTMLElement | string, options?: TwemojiOptions): void;
parse(node: HTMLElement | string, options?: TwemojiOptions): string;
};
declare module 'twemoji' {