import { ObservableQuery } from 'apollo-client' ; export class ObservableQueryRef { private ref : ObservableQuery < any > ; constructor ( ref ? ) { if ( ref ) { this . setRef ( ref ) ; } } public setRef ( ref ) { this . ref = ref ; } public getRef ( ) { return this . ref ; } }