Skip to content

fix: TS2339 on value.slice()#95

Open
lewebsimple wants to merge 1 commit intoSplidejs:masterfrom
lewebsimple:fix-issue-1215
Open

fix: TS2339 on value.slice()#95
lewebsimple wants to merge 1 commit intoSplidejs:masterfrom
lewebsimple:fix-issue-1215

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"

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