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

remove unnecessary declare

This commit is contained in:
Alexey Molchan 2022-04-30 01:09:34 +03:00
parent 568d31b261
commit 965fa17d2a

8
index.d.ts vendored
View File

@ -7,11 +7,11 @@
* @param options all info for this parsing operation
* @param variant the optional \uFE0F ("as image") variant, in case this info is anyhow meaningful. By default this is ignored.
*/
declare type ParseCallback = (icon: string, options: object, variant: string) => string | false;
type ParseCallback = (icon: string, options: object, variant: string) => string | false;
declare type Replacer = (substring: string, ...args: any[]) => string;
type Replacer = (substring: string, ...args: any[]) => string;
declare interface TwemojiOptions {
interface TwemojiOptions {
/**
* Default: MaxCDN
*/
@ -46,7 +46,7 @@ declare interface TwemojiOptions {
attributes?(icon: string, variant: string): object;
}
declare type Twemoji = {
type Twemoji = {
base: string;
ext: string;
className: string;