Last active
August 14, 2018 12:11
-
-
Save kamilkisiela/9261bf15314d0054dadfc52382349769 to your computer and use it in GitHub Desktop.
DOPE
This file contains hidden or 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
import { FeedGQL } from './generated/graphql'; | |
@Component({...}) | |
export class FeedComponent { | |
constructor(private feedGQL: FeedGQL) {} | |
ngOnInit() { | |
this.feedGQL.valueChanges.subscribe(result => { | |
console.log(result.data); | |
}) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment