Hi,I solve a similar problem, my solution is to add ":any[]" after target 
parameter, for example, I want to get length of array "my_arr", when I 
declare "my_arr", use "my_arr: any[]"

On Wednesday, November 1, 2017 at 5:27:53 PM UTC+8, Wira Xie wrote:
>
> Hi, my name is Xie and i am new with Angular.
> I got this error when i tried to delete a table row. The table data is 
> from a Json file. 
> Here is the error message :  app.component.ts (31,34): Property 'length' 
> does not exist on type 'Observable<any[]>'.
> And here is my repository <https://github.com/wiraxie/JSON-Angular-CLI>.
> Can anyone help me solve this error?
> Thank you so much in advance.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/angular/1c06b770-d9d4-4aa4-ad06-b1b5acdfcaaa%40googlegroups.com.

Reply via email to