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

Property 'slice' does not exist on type 'U[keyof U]' #94

Open
2 tasks done
rriixx opened this issue Aug 10, 2023 · 2 comments · May be fixed by #102
Open
2 tasks done

Property 'slice' does not exist on type 'U[keyof U]' #94

rriixx opened this issue Aug 10, 2023 · 2 comments · May be fixed by #102
Labels
bug Something isn't working

Comments

@rriixx
Copy link

rriixx commented Aug 10, 2023

Checks

Version

0.6.12

Description

When running yarn type-check i'm getting this error.
I created a minimal project, please run yarn type-check in the terminal so see the error.

node_modules/@splidejs/vue-splide/src/js/utils/merge/merge.ts:39:29 - error TS2339: Property 'slice' does not exist on type 'U[keyof U]'.

39       merged[ key ] = value.slice();
                               ~~~~~

Found 1 error in node_modules/@splidejs/vue-splide/src/js/utils/merge/merge.ts:39

Reproduction Link

https://stackblitz.com/edit/nuxt-starter-q9nc9c?file=package.json

Steps to Reproduce

  1. Open reproduction link
  2. Terminal: run yarn type-check
    ...

Expected Behaviour

No errors on type check

@rriixx rriixx added the bug Something isn't working label Aug 10, 2023
@sbeugen
Copy link

sbeugen commented Aug 18, 2023

Hi. I also have this error after some dependency upgrades. Is there a way to fix it temporarily?

@sbeugen
Copy link

sbeugen commented Aug 18, 2023

I can't open a PR or even push a branch. This is what needs to be done, in order to fix it:
Screenshot 2023-08-18 at 10 45 41

@BreakingBread0 BreakingBread0 linked a pull request Jan 12, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants