chore: remove semis

This commit is contained in:
Guillaume Chau
2019-09-19 17:56:58 +02:00
parent 26d52fb932
commit ff4ea950de
3 changed files with 8 additions and 4 deletions
+2 -2
View File
@@ -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
+5 -1
View File
@@ -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 {
+1 -1
View File
@@ -19,6 +19,6 @@ declare module 'vue/types/options' {
declare module 'vue/types/vue' {
interface Vue {
$apolloProvider: ApolloProvider
$apollo: DollarApollo<this>;
$apollo: DollarApollo<this>
}
}