Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesnt work with emojis #212

Open
notTanveer opened this issue Feb 3, 2024 · 2 comments
Open

Doesnt work with emojis #212

notTanveer opened this issue Feb 3, 2024 · 2 comments

Comments

@notTanveer
Copy link

notTanveer commented Feb 3, 2024

maybe add some functionality whenever it detects an emoji the loop jumps by 2 characters.

@VadimElFamoso
Copy link

I want it too, really sad it doesnt work... :(

@NewBieCoderXD
Copy link

I found a workaround!

add this to the options

stringSplitter: (input: string)=>{
     return Array.from(input) as any as string;
}

this will split string into an array of individual Unicode characters, and trick typescript by disguising the array as string

I know it's ugly, but it's something

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants