Skip to content

Commit d104759

Browse files
authored
chore: update TypeScript to 5.5 (#11906)
* 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>
1 parent d6da961 commit d104759

39 files changed

+661
-436
lines changed

.api-reports/api-report-core.md renamed to .api-reports/api-report-core.api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1801,7 +1801,7 @@ class QueryManager<TStore> {
18011801
getQueryStore(): Record<string, QueryStoreValue>;
18021802
// (undocumented)
18031803
protected inFlightLinkObservables: Trie<{
1804-
observable?: Observable<FetchResult<any>> | undefined;
1804+
observable?: Observable<FetchResult<any>>;
18051805
}>;
18061806
// (undocumented)
18071807
link: ApolloLink;
File renamed without changes.

.api-reports/api-report-react.md renamed to .api-reports/api-report-react.api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1577,7 +1577,7 @@ class QueryManager<TStore> {
15771577
getQueryStore(): Record<string, QueryStoreValue>;
15781578
// (undocumented)
15791579
protected inFlightLinkObservables: Trie<{
1580-
observable?: Observable<FetchResult<any>> | undefined;
1580+
observable?: Observable<FetchResult<any>>;
15811581
}>;
15821582
// (undocumented)
15831583
link: ApolloLink;

.api-reports/api-report-react_components.md renamed to .api-reports/api-report-react_components.api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1391,7 +1391,7 @@ class QueryManager<TStore> {
13911391
getQueryStore(): Record<string, QueryStoreValue>;
13921392
// (undocumented)
13931393
protected inFlightLinkObservables: Trie<{
1394-
observable?: Observable<FetchResult<any>> | undefined;
1394+
observable?: Observable<FetchResult<any>>;
13951395
}>;
13961396
// (undocumented)
13971397
link: ApolloLink;

.api-reports/api-report-react_context.md renamed to .api-reports/api-report-react_context.api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1322,7 +1322,7 @@ class QueryManager<TStore> {
13221322
getQueryStore(): Record<string, QueryStoreValue>;
13231323
// (undocumented)
13241324
protected inFlightLinkObservables: Trie<{
1325-
observable?: Observable<FetchResult<any>> | undefined;
1325+
observable?: Observable<FetchResult<any>>;
13261326
}>;
13271327
// (undocumented)
13281328
link: ApolloLink;

.api-reports/api-report-react_hoc.md renamed to .api-reports/api-report-react_hoc.api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1367,7 +1367,7 @@ class QueryManager<TStore> {
13671367
getQueryStore(): Record<string, QueryStoreValue>;
13681368
// (undocumented)
13691369
protected inFlightLinkObservables: Trie<{
1370-
observable?: Observable<FetchResult<any>> | undefined;
1370+
observable?: Observable<FetchResult<any>>;
13711371
}>;
13721372
// (undocumented)
13731373
link: ApolloLink;

.api-reports/api-report-react_hooks.md renamed to .api-reports/api-report-react_hooks.api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1446,7 +1446,7 @@ class QueryManager<TStore> {
14461446
getQueryStore(): Record<string, QueryStoreValue>;
14471447
// (undocumented)
14481448
protected inFlightLinkObservables: Trie<{
1449-
observable?: Observable<FetchResult<any>> | undefined;
1449+
observable?: Observable<FetchResult<any>>;
14501450
}>;
14511451
// (undocumented)
14521452
link: ApolloLink;

.api-reports/api-report-react_internal.md renamed to .api-reports/api-report-react_internal.api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1446,7 +1446,7 @@ class QueryManager<TStore> {
14461446
getQueryStore(): Record<string, QueryStoreValue>;
14471447
// (undocumented)
14481448
protected inFlightLinkObservables: Trie<{
1449-
observable?: Observable<FetchResult<any>> | undefined;
1449+
observable?: Observable<FetchResult<any>>;
14501450
}>;
14511451
// (undocumented)
14521452
link: ApolloLink;

.api-reports/api-report-react_ssr.md renamed to .api-reports/api-report-react_ssr.api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1307,7 +1307,7 @@ class QueryManager<TStore> {
13071307
getQueryStore(): Record<string, QueryStoreValue>;
13081308
// (undocumented)
13091309
protected inFlightLinkObservables: Trie<{
1310-
observable?: Observable<FetchResult<any>> | undefined;
1310+
observable?: Observable<FetchResult<any>>;
13111311
}>;
13121312
// (undocumented)
13131313
link: ApolloLink;

.api-reports/api-report-testing.md renamed to .api-reports/api-report-testing.api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1388,7 +1388,7 @@ class QueryManager<TStore> {
13881388
getQueryStore(): Record<string, QueryStoreValue>;
13891389
// (undocumented)
13901390
protected inFlightLinkObservables: Trie<{
1391-
observable?: Observable<FetchResult<any>> | undefined;
1391+
observable?: Observable<FetchResult<any>>;
13921392
}>;
13931393
// (undocumented)
13941394
link: ApolloLink;

.api-reports/api-report-testing_core.md renamed to .api-reports/api-report-testing_core.api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1345,7 +1345,7 @@ class QueryManager<TStore> {
13451345
getQueryStore(): Record<string, QueryStoreValue>;
13461346
// (undocumented)
13471347
protected inFlightLinkObservables: Trie<{
1348-
observable?: Observable<FetchResult<any>> | undefined;
1348+
observable?: Observable<FetchResult<any>>;
13491349
}>;
13501350
// (undocumented)
13511351
link: ApolloLink;

.api-reports/api-report-testing_experimental.md renamed to .api-reports/api-report-testing_experimental.api.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44

55
```ts
66

7-
/// <reference types="node" />
8-
97
import type { FieldNode } from 'graphql';
108
import type { FragmentDefinitionNode } from 'graphql';
119
import type { GraphQLSchema } from 'graphql';

.api-reports/api-report-utilities.md renamed to .api-reports/api-report-utilities.api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2109,7 +2109,7 @@ class QueryManager<TStore> {
21092109
getQueryStore(): Record<string, QueryStoreValue>;
21102110
// (undocumented)
21112111
protected inFlightLinkObservables: Trie<{
2112-
observable?: Observable<FetchResult<any>> | undefined;
2112+
observable?: Observable<FetchResult<any>>;
21132113
}>;
21142114
// (undocumented)
21152115
link: ApolloLink;

.api-reports/api-report.md renamed to .api-reports/api-report.api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2149,7 +2149,7 @@ class QueryManager<TStore> {
21492149
getQueryStore(): Record<string, QueryStoreValue>;
21502150
// (undocumented)
21512151
protected inFlightLinkObservables: Trie<{
2152-
observable?: Observable<FetchResult<any>> | undefined;
2152+
observable?: Observable<FetchResult<any>>;
21532153
}>;
21542154
// (undocumented)
21552155
link: ApolloLink;

.changeset/proud-swans-attend.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@apollo/client": patch
3+
---
4+
5+
chore: update TypeScript to 5.5

.size-limits.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"dist/apollo-client.min.cjs": 39579,
2+
"dist/apollo-client.min.cjs": 39578,
33
"import { ApolloClient, InMemoryCache, HttpLink } from \"dist/index.js\" (production)": 32821
44
}

config/apiExtractor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ try {
6464
buildReport(
6565
mainEntryPointFilePath,
6666
"apiReport",
67-
`api-report${path ? "-" + path.replace(/\//g, "_") : ""}.md`
67+
`api-report${path ? "-" + path.replace(/\//g, "_") : ""}.api.md`
6868
);
6969
});
7070
}

0 commit comments

Comments
 (0)