Skip to content

Commit 921cfe3

Browse files
jerelmillergithub-actions[bot]
authored andcommitted
Clean up Prettier, Size-limit, and Api-Extractor
1 parent 058b041 commit 921cfe3

4 files changed

+8
-28
lines changed

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

+2-7
Original file line numberDiff line numberDiff line change
@@ -1376,11 +1376,6 @@ type NextResultListener = (method: "next" | "error" | "complete", arg?: any) =>
13761376
type NoInfer_2<T> = [T][T extends any ? 0 : never];
13771377
export { NoInfer_2 as NoInfer }
13781378

1379-
// Warning: (ae-forgotten-export) The symbol "From" needs to be exported by the entry point index.d.ts
1380-
//
1381-
// @public (undocumented)
1382-
type NonNullFrom<TData> = Exclude<From<TData>, null>;
1383-
13841379
// @public (undocumented)
13851380
class ObservableQuery<TData = any, TVariables extends OperationVariables = OperationVariables> extends Observable<ApolloQueryResult<MaybeMasked<TData>>> {
13861381
constructor({ queryManager, queryInfo, options, }: {
@@ -2425,7 +2420,7 @@ export function useSubscription<TData = any, TVariables extends OperationVariabl
24252420
//
24262421
// @public (undocumented)
24272422
export function useSuspenseFragment<TData, TVariables extends OperationVariables = OperationVariables>(options: UseSuspenseFragmentOptions<TData, TVariables> & {
2428-
from: NonNullFrom<TData>;
2423+
from: NonNullable<From<TData>>;
24292424
}): UseSuspenseFragmentResult<TData>;
24302425

24312426
// @public (undocumented)
@@ -2573,7 +2568,7 @@ interface WatchQueryOptions<TVariables extends OperationVariables = OperationVar
25732568
// src/react/hooks/useBackgroundQuery.ts:54:3 - (ae-forgotten-export) The symbol "FetchMoreFunction" needs to be exported by the entry point index.d.ts
25742569
// src/react/hooks/useBackgroundQuery.ts:78:4 - (ae-forgotten-export) The symbol "RefetchFunction" needs to be exported by the entry point index.d.ts
25752570
// src/react/hooks/useLoadableQuery.ts:120:9 - (ae-forgotten-export) The symbol "ResetFunction" needs to be exported by the entry point index.d.ts
2576-
// src/react/hooks/useSuspenseFragment.ts:62:5 - (ae-forgotten-export) The symbol "NonNullFrom" needs to be exported by the entry point index.d.ts
2571+
// src/react/hooks/useSuspenseFragment.ts:60:5 - (ae-forgotten-export) The symbol "From" needs to be exported by the entry point index.d.ts
25772572

25782573
// (No @packageDocumentation comment for this package)
25792574

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

+2-7
Original file line numberDiff line numberDiff line change
@@ -1320,11 +1320,6 @@ type NextResultListener = (method: "next" | "error" | "complete", arg?: any) =>
13201320
// @public
13211321
type NoInfer_2<T> = [T][T extends any ? 0 : never];
13221322

1323-
// Warning: (ae-forgotten-export) The symbol "From" needs to be exported by the entry point index.d.ts
1324-
//
1325-
// @public (undocumented)
1326-
type NonNullFrom<TData> = Exclude<From<TData>, null>;
1327-
13281323
// @public (undocumented)
13291324
class ObservableQuery<TData = any, TVariables extends OperationVariables = OperationVariables> extends Observable<ApolloQueryResult<MaybeMasked<TData>>> {
13301325
constructor({ queryManager, queryInfo, options, }: {
@@ -2258,7 +2253,7 @@ export function useSubscription<TData = any, TVariables extends OperationVariabl
22582253
//
22592254
// @public (undocumented)
22602255
export function useSuspenseFragment<TData, TVariables extends OperationVariables = OperationVariables>(options: UseSuspenseFragmentOptions<TData, TVariables> & {
2261-
from: NonNullFrom<TData>;
2256+
from: NonNullable<From<TData>>;
22622257
}): UseSuspenseFragmentResult<TData>;
22632258

22642259
// @public (undocumented)
@@ -2397,7 +2392,7 @@ interface WatchQueryOptions<TVariables extends OperationVariables = OperationVar
23972392
// src/react/hooks/useBackgroundQuery.ts:54:3 - (ae-forgotten-export) The symbol "FetchMoreFunction" needs to be exported by the entry point index.d.ts
23982393
// src/react/hooks/useBackgroundQuery.ts:78:4 - (ae-forgotten-export) The symbol "RefetchFunction" needs to be exported by the entry point index.d.ts
23992394
// src/react/hooks/useLoadableQuery.ts:120:9 - (ae-forgotten-export) The symbol "ResetFunction" needs to be exported by the entry point index.d.ts
2400-
// src/react/hooks/useSuspenseFragment.ts:62:5 - (ae-forgotten-export) The symbol "NonNullFrom" needs to be exported by the entry point index.d.ts
2395+
// src/react/hooks/useSuspenseFragment.ts:60:5 - (ae-forgotten-export) The symbol "From" needs to be exported by the entry point index.d.ts
24012396

24022397
// (No @packageDocumentation comment for this package)
24032398

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

+2-7
Original file line numberDiff line numberDiff line change
@@ -1357,11 +1357,6 @@ type NextResultListener = (method: "next" | "error" | "complete", arg?: any) =>
13571357
// @public
13581358
type NoInfer_2<T> = [T][T extends any ? 0 : never];
13591359

1360-
// Warning: (ae-forgotten-export) The symbol "From" needs to be exported by the entry point index.d.ts
1361-
//
1362-
// @public (undocumented)
1363-
type NonNullFrom<TData> = Exclude<From<TData>, null>;
1364-
13651360
// @public (undocumented)
13661361
class ObservableQuery<TData = any, TVariables extends OperationVariables = OperationVariables> extends Observable<ApolloQueryResult<MaybeMasked<TData>>> {
13671362
constructor({ queryManager, queryInfo, options, }: {
@@ -2322,7 +2317,7 @@ interface UseReadQueryResult<TData = unknown> {
23222317
//
23232318
// @public (undocumented)
23242319
function useSuspenseFragment<TData, TVariables extends OperationVariables = OperationVariables>(options: UseSuspenseFragmentOptions<TData, TVariables> & {
2325-
from: NonNullFrom<TData>;
2320+
from: NonNullable<From<TData>>;
23262321
}): UseSuspenseFragmentResult<TData>;
23272322

23282323
// @public (undocumented)
@@ -2521,7 +2516,7 @@ export function wrapQueryRef<TData, TVariables extends OperationVariables>(inter
25212516
// src/react/hooks/useBackgroundQuery.ts:38:3 - (ae-forgotten-export) The symbol "SubscribeToMoreFunction" needs to be exported by the entry point index.d.ts
25222517
// src/react/hooks/useBackgroundQuery.ts:54:3 - (ae-forgotten-export) The symbol "FetchMoreFunction" needs to be exported by the entry point index.d.ts
25232518
// src/react/hooks/useBackgroundQuery.ts:78:4 - (ae-forgotten-export) The symbol "RefetchFunction" needs to be exported by the entry point index.d.ts
2524-
// src/react/hooks/useSuspenseFragment.ts:62:5 - (ae-forgotten-export) The symbol "NonNullFrom" needs to be exported by the entry point index.d.ts
2519+
// src/react/hooks/useSuspenseFragment.ts:60:5 - (ae-forgotten-export) The symbol "From" needs to be exported by the entry point index.d.ts
25252520
// src/react/query-preloader/createQueryPreloader.ts:145:3 - (ae-forgotten-export) The symbol "PreloadQueryFetchPolicy" needs to be exported by the entry point index.d.ts
25262521
// src/react/query-preloader/createQueryPreloader.ts:167:5 - (ae-forgotten-export) The symbol "RefetchWritePolicy" needs to be exported by the entry point index.d.ts
25272522

.api-reports/api-report.api.md

+2-7
Original file line numberDiff line numberDiff line change
@@ -1841,11 +1841,6 @@ type NextResultListener = (method: "next" | "error" | "complete", arg?: any) =>
18411841
type NoInfer_2<T> = [T][T extends any ? 0 : never];
18421842
export { NoInfer_2 as NoInfer }
18431843

1844-
// Warning: (ae-forgotten-export) The symbol "From" needs to be exported by the entry point index.d.ts
1845-
//
1846-
// @public (undocumented)
1847-
type NonNullFrom<TData> = Exclude<From<TData>, null>;
1848-
18491844
// @public
18501845
export interface NormalizedCache {
18511846
// (undocumented)
@@ -3096,7 +3091,7 @@ export function useSubscription<TData = any, TVariables extends OperationVariabl
30963091
//
30973092
// @public (undocumented)
30983093
export function useSuspenseFragment<TData, TVariables extends OperationVariables = OperationVariables>(options: UseSuspenseFragmentOptions<TData, TVariables> & {
3099-
from: NonNullFrom<TData>;
3094+
from: NonNullable<From<TData>>;
31003095
}): UseSuspenseFragmentResult<TData>;
31013096

31023097
// @public (undocumented)
@@ -3272,7 +3267,7 @@ interface WriteContext extends ReadMergeModifyContext {
32723267
// src/react/hooks/useBackgroundQuery.ts:54:3 - (ae-forgotten-export) The symbol "FetchMoreFunction" needs to be exported by the entry point index.d.ts
32733268
// src/react/hooks/useBackgroundQuery.ts:78:4 - (ae-forgotten-export) The symbol "RefetchFunction" needs to be exported by the entry point index.d.ts
32743269
// src/react/hooks/useLoadableQuery.ts:120:9 - (ae-forgotten-export) The symbol "ResetFunction" needs to be exported by the entry point index.d.ts
3275-
// src/react/hooks/useSuspenseFragment.ts:62:5 - (ae-forgotten-export) The symbol "NonNullFrom" needs to be exported by the entry point index.d.ts
3270+
// src/react/hooks/useSuspenseFragment.ts:60:5 - (ae-forgotten-export) The symbol "From" needs to be exported by the entry point index.d.ts
32763271

32773272
// (No @packageDocumentation comment for this package)
32783273

0 commit comments

Comments
 (0)