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:
Matthieu Riegler
2025-08-20 14:28:57 +02:00
committed by Jessica Janiuk
parent 6d88ce1525
commit edbbbb1e44
3 changed files with 0 additions and 23 deletions
-9
View File
@@ -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.
*
-1
View File
@@ -27,7 +27,6 @@ export * from './di';
export {
BootstrapOptions,
ApplicationRef,
NgProbeToken,
APP_BOOTSTRAP_LISTENER,
} from './application/application_ref';
export {PlatformRef} from './platform/platform_ref';