mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
refactor(core): remove NgProbeToken class (#63279)
This class served no purpose and was deprecated in by #51396 G3 also has no usage anymore. PR Close #63279
This commit is contained in:
committed by
Jessica Janiuk
parent
6d88ce1525
commit
edbbbb1e44
@@ -1275,15 +1275,6 @@ export abstract class NgModuleRef<T> {
|
||||
abstract onDestroy(callback: () => void): void;
|
||||
}
|
||||
|
||||
// @public @deprecated
|
||||
export class NgProbeToken {
|
||||
constructor(name: string, token: any);
|
||||
// (undocumented)
|
||||
name: string;
|
||||
// (undocumented)
|
||||
token: any;
|
||||
}
|
||||
|
||||
// @public
|
||||
export class NgZone {
|
||||
constructor(options: {
|
||||
|
||||
@@ -91,19 +91,6 @@ export function isBoundToModule<C>(cf: ComponentFactory<C>): boolean {
|
||||
return (cf as R3ComponentFactory<C>).isBoundToModule;
|
||||
}
|
||||
|
||||
/**
|
||||
* A token for third-party components that can register themselves with NgProbe.
|
||||
*
|
||||
* @deprecated
|
||||
* @publicApi
|
||||
*/
|
||||
export class NgProbeToken {
|
||||
constructor(
|
||||
public name: string,
|
||||
public token: any,
|
||||
) {}
|
||||
}
|
||||
|
||||
/**
|
||||
* Provides additional options to the bootstrapping process.
|
||||
*
|
||||
|
||||
@@ -27,7 +27,6 @@ export * from './di';
|
||||
export {
|
||||
BootstrapOptions,
|
||||
ApplicationRef,
|
||||
NgProbeToken,
|
||||
APP_BOOTSTRAP_LISTENER,
|
||||
} from './application/application_ref';
|
||||
export {PlatformRef} from './platform/platform_ref';
|
||||
|
||||
Reference in New Issue
Block a user