From 34e6b4a667d17809c57a981dee3c66fe4cc2ce1b Mon Sep 17 00:00:00 2001 From: Harold Thetiot Date: Mon, 14 Mar 2022 15:23:52 +0100 Subject: [PATCH] fix index.d.ts export instead of declare --- index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index 3f34fb53..b818f39e 100644 --- a/index.d.ts +++ b/index.d.ts @@ -29,7 +29,7 @@ declare interface TwemojiOptions { attributes?(): void; } -export const twemoji: { +declare const twemoji: { convert: { fromCodePoint(hexCodePoint: string): string; toCodePoint(utf16surrogatePairs: string): string;