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 API extractor and regenerate the API report #11823

Merged
merged 2 commits into from
May 2, 2024

Conversation

jerelmiller
Copy link
Member

This updates the API extractor tool and reruns the script. This is an alternative to #11822 which does a manual rename of the type.

cc @phryneas

Copy link

changeset-bot bot commented May 2, 2024

⚠️ No Changeset found

Latest commit: f778780

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@@ -1295,7 +1295,8 @@ type NextLink = (operation: Operation) => Observable<FetchResult>;
type NextResultListener = (method: "next" | "error" | "complete", arg?: any) => any;

// @public
export type NoInfer<T> = [T][T extends any ? 0 : never];
type NoInfer_2<T> = [T][T extends any ? 0 : never];
export { NoInfer_2 as NoInfer }
Copy link
Member Author

Choose a reason for hiding this comment

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

I think this is something I missed the first time. Looks like it preserves the public exported name which is useful.

Copy link
Contributor

github-actions bot commented May 2, 2024

size-limit report 📦

Path Size
dist/apollo-client.min.cjs 38.62 KB (0%)
import { ApolloClient, InMemoryCache, HttpLink } from "dist/main.cjs" 46.5 KB (0%)
import { ApolloClient, InMemoryCache, HttpLink } from "dist/main.cjs" (production) 44.05 KB (0%)
import { ApolloClient, InMemoryCache, HttpLink } from "dist/index.js" 34.17 KB (0%)
import { ApolloClient, InMemoryCache, HttpLink } from "dist/index.js" (production) 32.06 KB (0%)
import { ApolloProvider } from "dist/react/index.js" 1.23 KB (0%)
import { ApolloProvider } from "dist/react/index.js" (production) 1.21 KB (0%)
import { useQuery } from "dist/react/index.js" 5.28 KB (0%)
import { useQuery } from "dist/react/index.js" (production) 4.37 KB (0%)
import { useLazyQuery } from "dist/react/index.js" 5.52 KB (0%)
import { useLazyQuery } from "dist/react/index.js" (production) 4.59 KB (0%)
import { useMutation } from "dist/react/index.js" 3.52 KB (0%)
import { useMutation } from "dist/react/index.js" (production) 2.74 KB (0%)
import { useSubscription } from "dist/react/index.js" 3.21 KB (0%)
import { useSubscription } from "dist/react/index.js" (production) 2.4 KB (0%)
import { useSuspenseQuery } from "dist/react/index.js" 5.46 KB (0%)
import { useSuspenseQuery } from "dist/react/index.js" (production) 4.12 KB (0%)
import { useBackgroundQuery } from "dist/react/index.js" 4.94 KB (0%)
import { useBackgroundQuery } from "dist/react/index.js" (production) 3.59 KB (0%)
import { useLoadableQuery } from "dist/react/index.js" 5.05 KB (0%)
import { useLoadableQuery } from "dist/react/index.js" (production) 3.71 KB (0%)
import { useReadQuery } from "dist/react/index.js" 3.31 KB (0%)
import { useReadQuery } from "dist/react/index.js" (production) 3.25 KB (0%)
import { useFragment } from "dist/react/index.js" 2.29 KB (0%)
import { useFragment } from "dist/react/index.js" (production) 2.23 KB (0%)

@jerelmiller jerelmiller requested a review from phryneas May 2, 2024 14:28
Copy link
Member

@phryneas phryneas left a comment

Choose a reason for hiding this comment

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

Let's go with this for now :)

@github-actions github-actions bot added the auto-cleanup 🤖 label May 2, 2024
@jerelmiller jerelmiller changed the title Alternate NoInfer update Update API extractor and rerun the API report May 2, 2024
@jerelmiller jerelmiller changed the title Update API extractor and rerun the API report Update API extractor and regenerate the API report May 2, 2024
@jerelmiller jerelmiller merged commit 85d45b4 into main May 2, 2024
37 checks passed
@jerelmiller jerelmiller deleted the jerel/no-infer-dos branch May 2, 2024 15:59
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants