1
0
mirror of https://github.com/twitter/twemoji.git synced 2024-06-15 03:35:16 +00:00

fix(toCodePoint): sep is optional

This commit is contained in:
Markus Tacker 2019-09-07 15:59:44 +02:00 committed by GitHub
parent 6fc406b63b
commit 6a454d2ec6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
src/twemoji.d.ts vendored
View File

@ -55,7 +55,7 @@ const twemoji: {
* twemoji.convert.toCodePoint('\ud83c\udde8\ud83c\uddf3', '~'); * twemoji.convert.toCodePoint('\ud83c\udde8\ud83c\uddf3', '~');
* // "1f1e8~1f1f3" * // "1f1e8~1f1f3"
*/ */
toCodePoint: (unicodeSurrogates: string, sep: string) => string toCodePoint: (unicodeSurrogates: string, sep?: string) => string
} }
/** /**