Skip to content

Commit

Permalink
Add missing stale property to ApolloCurrentQueryResult
Browse files Browse the repository at this point in the history
`ObservableQuery.getCurrentResult` can now return a result that
includes a `stale` property, which wasn't accounted for in the
returned `ApolloCurrentQueryResult` type.
  • Loading branch information
hwillson committed Feb 22, 2019
1 parent 559a948 commit b793efd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/apollo-client/src/core/ObservableQuery.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ export type ApolloCurrentQueryResult<T> = {
networkStatus: NetworkStatus;
error?: ApolloError;
partial?: boolean;
stale?: boolean;
};

export interface FetchMoreOptions<
Expand Down

0 comments on commit b793efd

Please sign in to comment.