How to highlight resource after task click

Good morning,
I m using angular, i followed your snipped for achieve my goal with some changes

In typescript using this line of code:
store.select(assignment.resource_id);
I have this error:
Property ‘select’ does not exist on type 'DatastoreMethods & TreeDatastoreMethods

Thanks in advice, Gianluca.

Hello Gianluca,
Unfortunately, some methods, configs, and events of the datastores are not documented, and there are no types for them in the typings file. It will be fixed in the future, but I cannot give you any ETA.

For now, you need to manually use the any type to make it work:

(store as any).select(assignment.resource_id);