-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Enable strict mode in tsconfig and fix type errors #11200
Merged
Merged
Changes from 19 commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
aca904f
Enable strict mode in tsconfig.json
jerelmiller 0da3d3d
Fix type issues in utilities/graphql/transform
jerelmiller 78ccf61
Use spread to push incoming objects in offsetLimitPagination
jerelmiller 69d528a
Fix type issues in writeToStore test
jerelmiller e503cbb
Fix type issues in Concast
jerelmiller 0fe49a0
Remove unused filterInPlace utility
jerelmiller e34d084
Add this type to itAsync
jerelmiller 962bd47
Add ! annotation to mockLink
jerelmiller 36129f8
Fix assignment from unknown in error link
jerelmiller cea054e
Fix type issue in readFromStore
jerelmiller bed3439
Fix type issues in useQuery
jerelmiller b568689
some progress
phryneas 6498326
more type fixes
phryneas b8c6eb6
change `addExportedVariables` signature
phryneas c3a761d
better typing
phryneas 9eb5e3e
undo deprecation
phryneas 0966cc9
Merge branch 'main' into enable-strict-mode
phryneas a101977
test types
phryneas 55a6351
add api extractor
phryneas f909921
add api reports
phryneas e1e2fbb
add workflow
phryneas 0426c84
formatting
phryneas be151b0
package lock
phryneas c83b042
remove `ensureResult` for this PR, add `TODO` type
phryneas 4aa485b
Merge branch 'pr/api-extractor' into enable-strict-mode
phryneas 1e7c5c6
API updates for this PR
phryneas c080309
Merge remote-tracking branch 'origin/main' into enable-strict-mode
phryneas 0b2cf25
size-limit
phryneas 9303630
introduce IDE-only `tsconfig.json`
phryneas 5e3fb70
formatting
phryneas 04dcc0d
fix path
phryneas 2cb5c83
Merge pull request #11359 from apollographql/pr/enable-test-ts
jerelmiller 94b07f9
Add changeset
jerelmiller File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This minifies even shorter than the old code.