mirror of
https://github.com/twitter/twemoji.git
synced 2024-06-15 03:35:16 +00:00
rename argument
This commit is contained in:
parent
e9371f5cad
commit
568d31b261
2
index.d.ts
vendored
2
index.d.ts
vendored
@ -86,7 +86,7 @@ declare type Twemoji = {
|
|||||||
};
|
};
|
||||||
parse<T extends string | HTMLElement>(node: T, options?: TwemojiOptions | ParseCallback): T;
|
parse<T extends string | HTMLElement>(node: T, options?: TwemojiOptions | ParseCallback): T;
|
||||||
replace(text: string, replacer: string | Replacer): string;
|
replace(text: string, replacer: string | Replacer): string;
|
||||||
test(test: string): boolean;
|
test(text: string): boolean;
|
||||||
onerror(): void;
|
onerror(): void;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user