Created
December 8, 2018 15:34
-
-
Save yutahaga/5f65ca5a5c1c16a2e12815e7f1cc1ba7 to your computer and use it in GitHub Desktop.
@nuxtjs/apollo用の VueApollo 型拡張宣言ファイル。
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
declare module 'vue-apollo/types/vue-apollo' { | |
import { ApolloClient } from 'apollo-client' | |
import { | |
VueApolloOptions, | |
WatchLoading, | |
ErrorHandler | |
} from 'vue-apollo/types/options' | |
interface VueApollo { | |
defaultClient: ApolloClient<{}> | |
defaultOptions: VueApolloOptions<{}> | |
clients: { [key: string]: ApolloClient<{}> } | |
watchLoading: WatchLoading<{}> | |
errorHandler: ErrorHandler<{}> | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment