Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @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.
*/
export type ParseCallback = (icon: string, options: object, variant: string) => string | false;
export type ParseCallback = (icon: string, options: TwemojiOptions, variant: string) => string | false;

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

Expand All @@ -27,7 +27,7 @@ export type TwemojiOptions = {
/**
* Default: 72x72
*/
size?: string | number;
size?: string;
/**
* To render with SVG use `folder: svg, ext: .svg`
*/
Expand Down