(root: any, packageName: string)
| 620 | } |
| 621 | |
| 622 | public lookupPackage(root: any, packageName: string) { |
| 623 | /** Reference: https://github.com/kondi/rxjs-grpc */ |
| 624 | let pkg = root; |
| 625 | for (const name of packageName.split(/\./)) { |
| 626 | pkg = pkg[name]; |
| 627 | } |
| 628 | return pkg; |
| 629 | } |
| 630 | |
| 631 | public loadProto(): any { |
| 632 | try { |
no outgoing calls
no test coverage detected