Skip to content

Commit

Permalink
lint index.d.ts: Strings must use singlequote, Newline required at en…
Browse files Browse the repository at this point in the history
…d of file but not found
  • Loading branch information
hthetiot authored and jdecked committed Mar 14, 2022
1 parent 9110fc8 commit fffa763
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 @@ -29,15 +29,15 @@ declare interface TwemojiOptions {
attributes?(): void;
}

declare type twemoji = {
declare type Twemoji = {
convert: {
fromCodePoint(hexCodePoint: string): string;
toCodePoint(utf16surrogatePairs: string): string;
};
parse(node: HTMLElement | string, options?: TwemojiOptions): void;
};

declare module "twemoji" {
const twemoji: twemoji;
declare module 'twemoji' {
const twemoji: Twemoji;
export default twemoji;
}
}

0 comments on commit fffa763

Please sign in to comment.