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

Update typescript to v4.3.3 #8394

Merged
merged 4 commits into from
Jun 17, 2021
Merged

Conversation

benjamn
Copy link
Member

@benjamn benjamn commented Jun 17, 2021

Closes #6886.

As of this writing, @apollo/client@beta should support [email protected] and later, by avoiding any type system features in .d.ts files that are not understood by TS 3.7.

Until this PR, we have been using [email protected] to build @apollo/client and run its tests, ensuring compatibility with that version of TypeScript (v3.9.9), at the very least.

Despite the upgrade to v4.3.3 in this PR, we intend to continue supporting older v3.x versions of typescript, unless there is a compelling reason to use recently added syntax in externally visible type declarations. One such compelling feature: TypeScript v3.8 would be required to support type-only import type { ... } from ... declarations.

Copy link
Contributor

@brainkim brainkim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The ObservableQuery changes might be breaking but they more accurately reflect what’s going on with those methods, I think.

@benjamn benjamn merged commit 608784c into release-3.4 Jun 17, 2021
@benjamn benjamn deleted the update-typescript-to-v4.3.3 branch June 17, 2021 19:29
@hwillson hwillson removed this from the MM-2021-06 milestone Jul 29, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants