1
0
mirror of https://github.com/twitter/twemoji.git synced 2024-12-28 15:19:10 +00:00

lint index.d.ts: Strings must use singlequote, Newline required at end of file but not found

This commit is contained in:
Harold Thetiot 2022-03-14 16:01:32 +01:00 committed by Justine De Caires
parent 9110fc85c0
commit fffa763019

8
index.d.ts vendored
View File

@ -29,7 +29,7 @@ declare interface TwemojiOptions {
attributes?(): void;
}
declare type twemoji = {
declare type Twemoji = {
convert: {
fromCodePoint(hexCodePoint: string): string;
toCodePoint(utf16surrogatePairs: string): string;
@ -37,7 +37,7 @@ declare type twemoji = {
parse(node: HTMLElement | string, options?: TwemojiOptions): void;
};
declare module "twemoji" {
const twemoji: twemoji;
declare module 'twemoji' {
const twemoji: Twemoji;
export default twemoji;
}
}