From 4a001d279048728140108789293944f12841e096 Mon Sep 17 00:00:00 2001 From: Jacob Bullock Date: Wed, 10 Jan 2018 10:58:48 -0700 Subject: [PATCH] fixing example for findAll usage --- README.MD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.MD b/README.MD index c53da622..1ce1ccdf 100644 --- a/README.MD +++ b/README.MD @@ -186,7 +186,7 @@ getPosts(){ this.datastore.findAll(Post, { page: { size: 10, number: 1} }).subscribe( - (posts: Post[]) => console.log(posts) + (posts: JsonApiQueryData) => console.log(posts.getModels()) ); } ```