diff --git a/index.d.ts b/index.d.ts index d9c6e10e..c7bc5400 100644 --- a/index.d.ts +++ b/index.d.ts @@ -86,7 +86,7 @@ declare type Twemoji = { }; parse(node: T, options?: TwemojiOptions | ParseCallback): T; replace(text: string, replacer: string | Replacer): string; - test(test: string): boolean; + test(text: string): boolean; onerror(): void; };