Skip to content

fix: TS2339 on value.slice() #95

New issue

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

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

Already on GitHub? # to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lewebsimple
Copy link

Related Issues

Splidejs/splide#1215

Description

Adding a simple type hint prevents TypeScript from complaining about value.slice().

@azurewai
Copy link

On my side the issue still occurs after code change, on "typescript": "5.1.6"
I have to downgrade "typescript" to "~4.5.5"

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

Successfully merging this pull request may close these issues.

2 participants