graphql-mock
Advanced tools
Comparing version 1.0.2 to 1.0.3
import { ApolloClient, ApolloQueryResult, ObservableQuery, WatchQueryOptions, MutationOptions } from 'apollo-client'; | ||
import { NormalizedCacheObject } from 'apollo-cache-inmemory'; | ||
import { GraphQLSchema } from 'graphql'; | ||
import { FetchResult } from 'apollo-link'; | ||
export declare type AnyApolloOptions = WatchQueryOptions | MutationOptions<any>; | ||
@@ -12,3 +11,3 @@ export default class MockClient extends ApolloClient<NormalizedCacheObject> { | ||
watchQuery<T>(options: WatchQueryOptions): ObservableQuery<T>; | ||
mutate<T>(options: MutationOptions<T>): Promise<FetchResult<T, any>>; | ||
mutate<T>(options: MutationOptions<T>): Promise<any>; | ||
} |
{ | ||
"name": "graphql-mock", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "GraphQL endpoint mockery library for testing", | ||
@@ -5,0 +5,0 @@ "files": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
16695
385