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

rename argument

This commit is contained in:
Alexey Molchan 2022-04-30 00:49:31 +03:00
parent e9371f5cad
commit 568d31b261

2
index.d.ts vendored
View File

@ -86,7 +86,7 @@ declare type Twemoji = {
};
parse<T extends string | HTMLElement>(node: T, options?: TwemojiOptions | ParseCallback): T;
replace(text: string, replacer: string | Replacer): string;
test(test: string): boolean;
test(text: string): boolean;
onerror(): void;
};