Service missing child field in Typescript definitions
Ghirigoro opened this issue · comments
Ghirigoro commented
Service has a dynamic field child
that is not accessible through the Typescript definitions.
I can see why it's hard to type this since the field is dynamically added and deleted from the service object. Any reason why it's not a permanent field of service that is nulled out rather than deleted as necessary?
P.S. - for anyone else running into this issue, you can access child
by indexing the service object: service['child']
acd commented
acd commented
hey @Ghirigoro,
Since #173 was merged and addressed this issue, we can close this, imho.
Matthew Phillips commented
Yep, thanks!