debabratapatra / angular-tree-grid

Angular 10 Tree Grid
https://curiouslinks.com/pages/angular-tree-grid/demo
MIT License
31 stars 17 forks source link

Issue when I build my project #9

Closed seramah closed 5 years ago

seramah commented 5 years ago

Hi, I have theses issues when I run npm build for my project.

ERROR in node_modules/angular-tree-grid/angular-tree-grid.d.ts.ɵc.html(34,11): : Element implicitly has an 'any' type because type 'Object' has no index signature. node_modules/angular-tree-grid/angular-tree-grid.d.ts.ɵc.html(34,11): : Type 'undefined' cannot be used as an index type. node_modules/angular-tree-grid/angular-tree-grid.d.ts.ɵc.html(34,11): : Element implicitly has an 'any' type because type 'Object' has no index signature. node_modules/angular-tree-grid/angular-tree-grid.d.ts.ɵc.html(34,11): : Type 'undefined' cannot be used as an index type. node_modules/angular-tree-grid/angular-tree-grid.d.ts.ɵg.html(1,7): : Type 'undefined' cannot be used as an index type. node_modules/angular-tree-grid/angular-tree-grid.d.ts.ɵg.html(1,7): : Type 'undefined' cannot be used as an index type. node_modules/angular-tree-grid/angular-tree-grid.d.ts.ɵi.html(19,3): : Type 'undefined' cannot be used as an index type. node_modules/angular-tree-grid/angular-tree-grid.d.ts.ɵk.html(2,5): : Type 'undefined' cannot be used as an index type. node_modules/angular-tree-grid/angular-tree-grid.d.ts.ɵk.html(2,5): : Type 'undefined' cannot be used as an index type. node_modules/angular-tree-grid/angular-tree-grid.d.ts.ɵm.html(1,15): : Element implicitly has an 'any' type because type 'Object' has no index signature. node_modules/angular-tree-grid/angular-tree-grid.d.ts.ɵn.html(2,7): : Object is possibly 'undefined'.

seramah commented 5 years ago

Here's a screenshot :

Capture

debabratapatra commented 5 years ago

What do you suspect is causing this issue? I think variable having type "Object". I am not sure though.

debabratapatra commented 5 years ago

@seramah Have a got a solution?

debabratapatra commented 5 years ago

Closing as there is no response.