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

chore(vue,svelte,core): Update TypeScript and fix missing AnyVariables generics #2843

Merged
merged 6 commits into from
Nov 28, 2022

Conversation

kitten
Copy link
Member

@kitten kitten commented Nov 28, 2022

Summary

This is essentially a follow-up to #2607. We previously missed a couple of places that needed to be ported over from Variables = object to Variables extends AnyVariables = AnyVariables and the new TypeScript upgrade was blocked by these fixes.

Essentially, all that was needed was to fix these up. I suspect, as one would correctly assume, object is now not an alias for any (hence including void | undefined) but an alias for Record<string, any> to excluded void-like values.

Set of changes

  • Fix missing generic update in @urql/vue
  • Fix missing generic update in @urql/svelte
  • Fix generic issues in @urql/exchange-graphcache (doesn't affect public API)
  • Update TypeScript and related eslint plugin/parser

@kitten kitten requested a review from JoviDeCroock November 28, 2022 11:20
@kitten kitten changed the title chore(vue,svelte): Update TypeScript and fix missing AnyVariables generics chore(vue,svelte,core): Update TypeScript and fix missing AnyVariables generics Nov 28, 2022
@kitten kitten merged commit 6a96ad5 into main Nov 28, 2022
@kitten kitten deleted the chore/fix-any-variables branch November 28, 2022 11:28
@github-actions github-actions bot mentioned this pull request Nov 28, 2022
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