feat(router): register router with ngprobe
This commit is contained in:
@ -60,6 +60,15 @@ export function isDevMode(): boolean {
|
||||
return _devMode;
|
||||
}
|
||||
|
||||
/**
|
||||
* A token for third-party components that can register themselves with NgProbe.
|
||||
*
|
||||
* @experimental
|
||||
*/
|
||||
export class NgProbeToken {
|
||||
constructor(public name: string, public token: any) {}
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a platform.
|
||||
* Platforms have to be eagerly created via this function.
|
||||
|
Reference in New Issue
Block a user