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:
parent
36bac6943f
commit
dfc22ce760
2
index.d.ts
vendored
2
index.d.ts
vendored
@ -34,7 +34,7 @@ declare type Twemoji = {
|
|||||||
fromCodePoint(hexCodePoint: string): string;
|
fromCodePoint(hexCodePoint: string): string;
|
||||||
toCodePoint(utf16surrogatePairs: string): string;
|
toCodePoint(utf16surrogatePairs: string): string;
|
||||||
};
|
};
|
||||||
parse(node: HTMLElement | string, options?: TwemojiOptions): void;
|
parse(node: HTMLElement | string, options?: TwemojiOptions): string;
|
||||||
};
|
};
|
||||||
|
|
||||||
declare module 'twemoji' {
|
declare module 'twemoji' {
|
||||||
|
Loading…
Reference in New Issue
Block a user