From 6a454d2ec693824fe3bbf4967dce1d78a89aa8cc Mon Sep 17 00:00:00 2001 From: Markus Tacker Date: Sat, 7 Sep 2019 15:59:44 +0200 Subject: [PATCH] fix(toCodePoint): sep is optional --- src/twemoji.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/twemoji.d.ts b/src/twemoji.d.ts index 69f7477f..c4e5441d 100644 --- a/src/twemoji.d.ts +++ b/src/twemoji.d.ts @@ -55,7 +55,7 @@ const twemoji: { * twemoji.convert.toCodePoint('\ud83c\udde8\ud83c\uddf3', '~'); * // "1f1e8~1f1f3" */ - toCodePoint: (unicodeSurrogates: string, sep: string) => string + toCodePoint: (unicodeSurrogates: string, sep?: string) => string } /** @@ -200,4 +200,4 @@ const twemoji: { ) => string } -export default twemoji \ No newline at end of file +export default twemoji