From fffa763019a65d4bbf3e4ff7383babfa79e29d07 Mon Sep 17 00:00:00 2001 From: Harold Thetiot Date: Mon, 14 Mar 2022 16:01:32 +0100 Subject: [PATCH] lint index.d.ts: Strings must use singlequote, Newline required at end of file but not found --- index.d.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/index.d.ts b/index.d.ts index 08f552cf..0a170978 100644 --- a/index.d.ts +++ b/index.d.ts @@ -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; -} \ No newline at end of file +}