Skip to content

Commit

Permalink
[TS/chore] Migrate deprecated apollo QueryReference type in cellTyp…
Browse files Browse the repository at this point in the history
…es.ts (#11780)
  • Loading branch information
Philzen authored Dec 16, 2024
1 parent aa0a44e commit cc6b99a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/web/src/components/cell/cellTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import type {
ApolloClient,
NetworkStatus,
OperationVariables,
QueryReference,
QueryRef,
UseBackgroundQueryResult,
} from '@apollo/client'
import type { DocumentNode } from 'graphql'
Expand Down Expand Up @@ -200,7 +200,7 @@ export interface CreateCellProps<CellProps, CellVariables> {
export type SuspendingSuccessProps = React.PropsWithChildren<
Record<string, unknown>
> & {
queryRef: QueryReference<DataObject> // from useBackgroundQuery
queryRef: QueryRef<DataObject> // from useBackgroundQuery
suspenseQueryResult: SuspenseCellQueryResult<DataObject, any>
userProps: Record<string, any> // we don't really care about the types here, we are just forwarding on
}
Expand Down

0 comments on commit cc6b99a

Please sign in to comment.