@@ -439,6 +439,11 @@ class Concast<T> extends Observable<T> {
439439// @public (undocumented)
440440type ConcastSourcesIterable <T > = Iterable <Source <T >>;
441441
442+ // @internal (undocumented)
443+ type CovariantUnaryFunction <out Arg , out Ret > = {
444+ fn(arg : Arg ): Ret ;
445+ }[" fn" ];
446+
442447// Warning: (ae-forgotten-export) The symbol "ApolloClient" needs to be exported by the entry point index.d.ts
443448// Warning: (ae-forgotten-export) The symbol "NormalizedCacheObject" needs to be exported by the entry point index.d.ts
444449//
@@ -909,7 +914,7 @@ interface MockApolloLink extends ApolloLink {
909914}
910915
911916// @public (undocumented)
912- export interface MockedResponse <TData = Record <string , any >, TVariables = Record <string , any >> {
917+ export interface MockedResponse <out TData = Record <string , any >, out TVariables = Record <string , any >> {
913918 // (undocumented)
914919 delay? : number ;
915920 // (undocumented)
@@ -1509,8 +1514,10 @@ interface Resolvers {
15091514 };
15101515}
15111516
1517+ // Warning: (ae-forgotten-export) The symbol "CovariantUnaryFunction" needs to be exported by the entry point index.d.ts
1518+ //
15121519// @public (undocumented)
1513- export type ResultFunction <T , V = Record <string , any >> = ( variables : V ) => T ;
1520+ export type ResultFunction <T , V = Record <string , any >> = CovariantUnaryFunction < V , T > ;
15141521
15151522// @public (undocumented)
15161523type SafeReadonly <T > = T extends object ? Readonly <T > : T ;
@@ -1655,7 +1662,7 @@ interface UriFunction {
16551662}
16561663
16571664// @public (undocumented)
1658- type VariableMatcher <V = Record <string , any >> = ( variables : V ) => boolean ;
1665+ type VariableMatcher <V = Record <string , any >> = CovariantUnaryFunction < V , boolean > ;
16591666
16601667// @public (undocumented)
16611668export function wait(ms : number ): Promise <void >;
0 commit comments