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