Skip to content

Commit

Permalink
export types
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeymolchan authored and jdecked committed Apr 30, 2022
1 parent 000dc9a commit ad3d3d6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
type ParseCallback = (icon: string, options: object, variant: string) => string | false;
export type ParseCallback = (icon: string, options: object, variant: string) => string | false;

type ReplacerFunction = (substring: string, ...args: any[]) => string;
export type ReplacerFunction = (substring: string, ...args: any[]) => string;

interface TwemojiOptions {
export type TwemojiOptions = {
/**
* Default: MaxCDN
*/
Expand Down Expand Up @@ -46,7 +46,7 @@ interface TwemojiOptions {
attributes?(icon: string, variant: string): object;
}

type Twemoji = {
export type Twemoji = {
base: string;
ext: string;
className: string;
Expand Down

0 comments on commit ad3d3d6

Please sign in to comment.