Skip to content

Commit

Permalink
chore: update TypeScript to 5.5 (#11906)
Browse files Browse the repository at this point in the history
* chore: update TypeScript to 5.5

* adjust api report file path

* Clean up Prettier, Size-limit, and Api-Extractor

---------

Co-authored-by: phryneas <phryneas@users.noreply.github.com>
  • Loading branch information
phryneas and phryneas authored Jun 24, 2024
1 parent d6da961 commit d104759
Show file tree
Hide file tree
Showing 39 changed files with 661 additions and 436 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -1801,7 +1801,7 @@ class QueryManager<TStore> {
getQueryStore(): Record<string, QueryStoreValue>;
// (undocumented)
protected inFlightLinkObservables: Trie<{
observable?: Observable<FetchResult<any>> | undefined;
observable?: Observable<FetchResult<any>>;
}>;
// (undocumented)
link: ApolloLink;
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -1577,7 +1577,7 @@ class QueryManager<TStore> {
getQueryStore(): Record<string, QueryStoreValue>;
// (undocumented)
protected inFlightLinkObservables: Trie<{
observable?: Observable<FetchResult<any>> | undefined;
observable?: Observable<FetchResult<any>>;
}>;
// (undocumented)
link: ApolloLink;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1391,7 +1391,7 @@ class QueryManager<TStore> {
getQueryStore(): Record<string, QueryStoreValue>;
// (undocumented)
protected inFlightLinkObservables: Trie<{
observable?: Observable<FetchResult<any>> | undefined;
observable?: Observable<FetchResult<any>>;
}>;
// (undocumented)
link: ApolloLink;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1322,7 +1322,7 @@ class QueryManager<TStore> {
getQueryStore(): Record<string, QueryStoreValue>;
// (undocumented)
protected inFlightLinkObservables: Trie<{
observable?: Observable<FetchResult<any>> | undefined;
observable?: Observable<FetchResult<any>>;
}>;
// (undocumented)
link: ApolloLink;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1367,7 +1367,7 @@ class QueryManager<TStore> {
getQueryStore(): Record<string, QueryStoreValue>;
// (undocumented)
protected inFlightLinkObservables: Trie<{
observable?: Observable<FetchResult<any>> | undefined;
observable?: Observable<FetchResult<any>>;
}>;
// (undocumented)
link: ApolloLink;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1446,7 +1446,7 @@ class QueryManager<TStore> {
getQueryStore(): Record<string, QueryStoreValue>;
// (undocumented)
protected inFlightLinkObservables: Trie<{
observable?: Observable<FetchResult<any>> | undefined;
observable?: Observable<FetchResult<any>>;
}>;
// (undocumented)
link: ApolloLink;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1446,7 +1446,7 @@ class QueryManager<TStore> {
getQueryStore(): Record<string, QueryStoreValue>;
// (undocumented)
protected inFlightLinkObservables: Trie<{
observable?: Observable<FetchResult<any>> | undefined;
observable?: Observable<FetchResult<any>>;
}>;
// (undocumented)
link: ApolloLink;
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -1307,7 +1307,7 @@ class QueryManager<TStore> {
getQueryStore(): Record<string, QueryStoreValue>;
// (undocumented)
protected inFlightLinkObservables: Trie<{
observable?: Observable<FetchResult<any>> | undefined;
observable?: Observable<FetchResult<any>>;
}>;
// (undocumented)
link: ApolloLink;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1388,7 +1388,7 @@ class QueryManager<TStore> {
getQueryStore(): Record<string, QueryStoreValue>;
// (undocumented)
protected inFlightLinkObservables: Trie<{
observable?: Observable<FetchResult<any>> | undefined;
observable?: Observable<FetchResult<any>>;
}>;
// (undocumented)
link: ApolloLink;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1345,7 +1345,7 @@ class QueryManager<TStore> {
getQueryStore(): Record<string, QueryStoreValue>;
// (undocumented)
protected inFlightLinkObservables: Trie<{
observable?: Observable<FetchResult<any>> | undefined;
observable?: Observable<FetchResult<any>>;
}>;
// (undocumented)
link: ApolloLink;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@

```ts

/// <reference types="node" />

import type { FieldNode } from 'graphql';
import type { FragmentDefinitionNode } from 'graphql';
import type { GraphQLSchema } from 'graphql';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2109,7 +2109,7 @@ class QueryManager<TStore> {
getQueryStore(): Record<string, QueryStoreValue>;
// (undocumented)
protected inFlightLinkObservables: Trie<{
observable?: Observable<FetchResult<any>> | undefined;
observable?: Observable<FetchResult<any>>;
}>;
// (undocumented)
link: ApolloLink;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2149,7 +2149,7 @@ class QueryManager<TStore> {
getQueryStore(): Record<string, QueryStoreValue>;
// (undocumented)
protected inFlightLinkObservables: Trie<{
observable?: Observable<FetchResult<any>> | undefined;
observable?: Observable<FetchResult<any>>;
}>;
// (undocumented)
link: ApolloLink;
Expand Down
5 changes: 5 additions & 0 deletions .changeset/proud-swans-attend.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@apollo/client": patch
---

chore: update TypeScript to 5.5
2 changes: 1 addition & 1 deletion .size-limits.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"dist/apollo-client.min.cjs": 39579,
"dist/apollo-client.min.cjs": 39578,
"import { ApolloClient, InMemoryCache, HttpLink } from \"dist/index.js\" (production)": 32821
}
2 changes: 1 addition & 1 deletion config/apiExtractor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ try {
buildReport(
mainEntryPointFilePath,
"apiReport",
`api-report${path ? "-" + path.replace(/\//g, "_") : ""}.md`
`api-report${path ? "-" + path.replace(/\//g, "_") : ""}.api.md`
);
});
}
Expand Down
Loading

0 comments on commit d104759

Please sign in to comment.