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

fix typescript 5.5 compatibility #748

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Amixx
Copy link

@Amixx Amixx commented Jul 24, 2024

This is a fix for an error after upgrading to typescript 5.5:

../node_modules/tom-select/src/vanilla.ts:100:51 - error TS1536: Octal escape sequences and backreferences are not allowed in a character class. If this was intended as an escape sequence, use the syntax '\x20' instead.

100    _classes = _classes.trim().split(/[\11\12\14\15\40]/);

I have tested the solution in one of my projects and it resolves the typescript error.

@fuzzzerd
Copy link

fuzzzerd commented Sep 6, 2024

Also running into this error upgrading from Typescript 5.4 to 5.5. Would be great to see this merged and a new release created.

@Amixx
Copy link
Author

Amixx commented Sep 6, 2024

@fuzzzerd it seems like this project has been abandoned unfortunately (I have tried to contact the maintainers). You can use my fork instead.

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

Successfully merging this pull request may close these issues.

2 participants