()
| 69 | } |
| 70 | |
| 71 | public endpoints(): Array<Endpoint> { |
| 72 | const withoutDisabled = omit( |
| 73 | this.leafMap, |
| 74 | Array.from(this.disabledHosts) |
| 75 | ) as Readonly<typeof this.leafMap>; |
| 76 | return leafMapToEndpoints(withoutDisabled); |
| 77 | } |
| 78 | |
| 79 | public get(): Readonly<RouterMap> { |
| 80 | return omit(this.store, Array.from(this.disabledHosts)) as Readonly< |
no test coverage detected