File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ export abstract class ApolloCache {
103
103
public abstract read <
104
104
TData = unknown ,
105
105
TVariables extends OperationVariables = OperationVariables ,
106
- > ( query : Cache . ReadFnOptions < TData , TVariables > ) : Unmasked < TData > | null ;
106
+ > ( query : Cache . ReadOptions < TData , TVariables > ) : Unmasked < TData > | null ;
107
107
public abstract write <
108
108
TData = unknown ,
109
109
TVariables extends OperationVariables = OperationVariables ,
Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ export declare namespace Cache {
80
80
export interface DiffOptions <
81
81
TData = unknown ,
82
82
TVariables extends OperationVariables = OperationVariables ,
83
- > extends Omit < ReadFnOptions < TData , TVariables > , "rootId" > {
83
+ > extends Omit < ReadOptions < TData , TVariables > , "rootId" > {
84
84
// The DiffOptions interface is currently just an alias for
85
85
// ReadOptions, though DiffOptions used to be responsible for
86
86
// declaring the returnPartialData option.
Original file line number Diff line number Diff line change @@ -167,17 +167,17 @@ export class InMemoryCache extends ApolloCache {
167
167
}
168
168
169
169
public read < TData = unknown > (
170
- options : Cache . ReadFnOptions < TData , OperationVariables > & {
170
+ options : Cache . ReadOptions < TData , OperationVariables > & {
171
171
returnPartialData : true ;
172
172
}
173
173
) : TData | DeepPartial < TData > | null ;
174
174
175
175
public read < TData = unknown > (
176
- options : Cache . ReadFnOptions < TData , OperationVariables >
176
+ options : Cache . ReadOptions < TData , OperationVariables >
177
177
) : TData | null ;
178
178
179
179
public read < TData = unknown > (
180
- options : Cache . ReadFnOptions < TData , OperationVariables >
180
+ options : Cache . ReadOptions < TData , OperationVariables >
181
181
) : TData | DeepPartial < TData > | null {
182
182
const {
183
183
// Since read returns data or null, without any additional metadata
You can’t perform that action at this time.
0 commit comments