From 69d95f4340fe9e66188eb0d46430da9f32f39e1c 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;