-
-
Notifications
You must be signed in to change notification settings - Fork 523
Closed
Labels
Description
It would be great if you could add types of using this plugin in typescript project. Otherwise could you tell how to write custom types for bypass type checks?
I tried adding this to a type definition file but it didn't work -
/**
* Augment the typings of Vue.js
*/
declare module 'vue/types/vue' {
import Vue from 'vue';
export interface Vue {
$apollo: any;
}
}
declare module 'vue/types/options' {
import Vue from 'vue';
export interface ComponentOptions<V extends Vue> {
apollo?: any;
}
}