mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
refactor(core): update public API golden files (#60232)
This commit updates public API golden files as a result of switching to the relative import paths within the `@angular/core` package. PR Close #60232
This commit is contained in:
committed by
Jessica Janiuk
parent
e5cc624b87
commit
30a61f12a7
@@ -143,7 +143,7 @@ export function runPostSignalSetFn<T>(node: SignalNode<T>): void;
|
||||
// @public (undocumented)
|
||||
export function setActiveConsumer(consumer: ReactiveNode | null): ReactiveNode | null;
|
||||
|
||||
// @public (undocumented)
|
||||
// @public
|
||||
export function setAlternateWeakRefImpl(impl: unknown): void;
|
||||
|
||||
// @public (undocumented)
|
||||
|
||||
@@ -4,18 +4,9 @@
|
||||
|
||||
```ts
|
||||
|
||||
import { BaseResourceOptions } from '@angular/core';
|
||||
import { DestroyRef } from '@angular/core';
|
||||
import { Injector } from '@angular/core';
|
||||
import { MonoTypeOperatorFunction } from 'rxjs';
|
||||
import { Observable } from 'rxjs';
|
||||
import { OutputOptions } from '@angular/core';
|
||||
import { OutputRef } from '@angular/core';
|
||||
import { ResourceLoaderParams } from '@angular/core';
|
||||
import { ResourceRef } from '@angular/core';
|
||||
import { Signal } from '@angular/core';
|
||||
import { Subscribable } from 'rxjs';
|
||||
import { ValueEqualityFn } from '@angular/core/primitives/signals';
|
||||
|
||||
// @public
|
||||
export function outputFromObservable<T>(observable: Observable<T>, opts?: OutputOptions): OutputRef<T>;
|
||||
@@ -80,7 +71,7 @@ export function toSignal<T, const U extends T>(source: Observable<T> | Subscriba
|
||||
|
||||
// @public
|
||||
export interface ToSignalOptions<T> {
|
||||
equal?: ValueEqualityFn<T>;
|
||||
equal?: ValueEqualityFn_2<T>;
|
||||
initialValue?: unknown;
|
||||
injector?: Injector;
|
||||
manualCleanup?: boolean;
|
||||
|
||||
@@ -4,24 +4,9 @@
|
||||
|
||||
```ts
|
||||
|
||||
import { ChangeDetectorRef } from '@angular/core';
|
||||
import { Component } from '@angular/core';
|
||||
import { ComponentRef } from '@angular/core';
|
||||
import { DebugElement } from '@angular/core';
|
||||
import { ɵDeferBlockBehavior as DeferBlockBehavior } from '@angular/core';
|
||||
import { ɵDeferBlockState as DeferBlockState } from '@angular/core';
|
||||
import { Directive } from '@angular/core';
|
||||
import { ElementRef } from '@angular/core';
|
||||
import { InjectionToken } from '@angular/core';
|
||||
import { InjectOptions } from '@angular/core';
|
||||
import { NgModule } from '@angular/core';
|
||||
import { NgZone } from '@angular/core';
|
||||
import { Pipe } from '@angular/core';
|
||||
import { PlatformRef } from '@angular/core';
|
||||
import { ProviderToken } from '@angular/core';
|
||||
import { SchemaMetadata } from '@angular/core';
|
||||
import { Type } from '@angular/core';
|
||||
import { ɵDeferBlockDetails } from '@angular/core';
|
||||
import { Observable } from 'rxjs';
|
||||
import { Subject } from 'rxjs';
|
||||
import { Subscription } from 'rxjs';
|
||||
|
||||
// @public
|
||||
export const __core_private_testing_placeholder__ = "";
|
||||
@@ -54,16 +39,26 @@ export const ComponentFixtureAutoDetect: InjectionToken<boolean>;
|
||||
// @public (undocumented)
|
||||
export const ComponentFixtureNoNgZone: InjectionToken<boolean>;
|
||||
|
||||
export { DeferBlockBehavior }
|
||||
// @public
|
||||
export enum DeferBlockBehavior {
|
||||
Manual = 0,
|
||||
Playthrough = 1
|
||||
}
|
||||
|
||||
// @public
|
||||
export class DeferBlockFixture {
|
||||
constructor(block: ɵDeferBlockDetails, componentFixture: ComponentFixture<unknown>);
|
||||
constructor(block: DeferBlockDetails, componentFixture: ComponentFixture<unknown>);
|
||||
getDeferBlocks(): Promise<DeferBlockFixture[]>;
|
||||
render(state: DeferBlockState): Promise<void>;
|
||||
}
|
||||
|
||||
export { DeferBlockState }
|
||||
// @public
|
||||
export enum DeferBlockState {
|
||||
Complete = 2,
|
||||
Error = 3,
|
||||
Loading = 1,
|
||||
Placeholder = 0
|
||||
}
|
||||
|
||||
// @public
|
||||
export function discardPeriodicTasks(): void;
|
||||
|
||||
Reference in New Issue
Block a user