(prefix: string, cb: any)
| 858 | } |
| 859 | |
| 860 | public addCaptureRoute(prefix: string, cb: any) { |
| 861 | this.captureAllRoutes[prefix] = cb; |
| 862 | } |
| 863 | |
| 864 | private _applyMixin(Target: any, MixinClass: Partial<any> | ((t: Partial<any>) => Partial<any>)) { |
| 865 | if (!('prototype' in Target)) throw new Error('Target must be a class.'); |