chore: remove semis
This commit is contained in:
Vendored
+2
-2
@@ -1,14 +1,14 @@
|
||||
/* eslint no-unused-vars: 0 */
|
||||
|
||||
import Vue, { AsyncComponent } from 'vue'
|
||||
import { ApolloClient } from 'apollo-client';
|
||||
import { ApolloClient } from 'apollo-client'
|
||||
import {
|
||||
VueApolloComponentOptions,
|
||||
WatchLoading,
|
||||
ErrorHandler
|
||||
} from './options'
|
||||
|
||||
export type VueApolloComponent<V extends Vue = Vue> = VueApolloComponentOptions<V> | typeof Vue | AsyncComponent;
|
||||
export type VueApolloComponent<V extends Vue = Vue> = VueApolloComponentOptions<V> | typeof Vue | AsyncComponent
|
||||
|
||||
export class ApolloProvider<TCacheShape=any> {
|
||||
provide: (key?: string) => this
|
||||
|
||||
Vendored
+5
-1
@@ -9,6 +9,10 @@ import {
|
||||
NetworkStatus,
|
||||
ApolloQueryResult,
|
||||
ApolloError
|
||||
} from 'apollo-client'
|
||||
import { FetchResult } from 'apollo-link'
|
||||
import { ServerError, ServerParseError } from 'apollo-link-http-common'
|
||||
import { DocumentNode, GraphQLError } from 'graphql'
|
||||
import { DeepApplyThisType } from './utils'
|
||||
|
||||
/* Component options */
|
||||
@@ -73,7 +77,7 @@ export interface VueApolloQueryDefinition<Result = any> extends WatchQueryOption
|
||||
/* Subscriptions */
|
||||
|
||||
interface VueApolloSubscribeToMoreOptions extends SubscribeToMoreOptions {
|
||||
variables?: QueryVariables;
|
||||
variables?: QueryVariables
|
||||
}
|
||||
|
||||
interface VueApolloSubscriptionDefinition extends SubscriptionOptions {
|
||||
|
||||
Vendored
+1
-1
@@ -19,6 +19,6 @@ declare module 'vue/types/options' {
|
||||
declare module 'vue/types/vue' {
|
||||
interface Vue {
|
||||
$apolloProvider: ApolloProvider
|
||||
$apollo: DollarApollo<this>;
|
||||
$apollo: DollarApollo<this>
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user