build: update API goldens after api-extractor update (#42737)
Given we have updated API extractor to the most recent version, we need to update the API goldens because the latest version uses alias exports to avoid collisions with default library globals (like `Event`). PR Close #42737
This commit is contained in:
parent
2feb4bc9de
commit
e99af184ab
|
@ -49,7 +49,7 @@ export abstract class AnimationBuilder {
|
|||
}
|
||||
|
||||
// @public
|
||||
export interface AnimationEvent {
|
||||
interface AnimationEvent_2 {
|
||||
disabled: boolean;
|
||||
element: any;
|
||||
fromState: string;
|
||||
|
@ -59,6 +59,8 @@ export interface AnimationEvent {
|
|||
triggerName: string;
|
||||
}
|
||||
|
||||
export { AnimationEvent_2 as AnimationEvent }
|
||||
|
||||
// @public
|
||||
export abstract class AnimationFactory {
|
||||
abstract create(element: any, options?: AnimationOptions): AnimationPlayer;
|
||||
|
|
|
@ -262,7 +262,7 @@ export class KeyValuePipe implements PipeTransform {
|
|||
}
|
||||
|
||||
// @public
|
||||
export class Location {
|
||||
class Location_2 {
|
||||
constructor(platformStrategy: LocationStrategy, platformLocation: PlatformLocation);
|
||||
back(): void;
|
||||
forward(): void;
|
||||
|
@ -278,9 +278,11 @@ export class Location {
|
|||
prepareExternalUrl(url: string): string;
|
||||
replaceState(path: string, query?: string, state?: any): void;
|
||||
static stripTrailingSlash: (url: string) => string;
|
||||
subscribe(onNext: (value: PopStateEvent) => void, onThrow?: ((exception: any) => void) | null, onReturn?: (() => void) | null): SubscriptionLike;
|
||||
subscribe(onNext: (value: PopStateEvent_2) => void, onThrow?: ((exception: any) => void) | null, onReturn?: (() => void) | null): SubscriptionLike;
|
||||
}
|
||||
|
||||
export { Location_2 as Location }
|
||||
|
||||
// @public
|
||||
export const LOCATION_INITIALIZED: InjectionToken<Promise<any>>;
|
||||
|
||||
|
@ -597,7 +599,7 @@ export enum Plural {
|
|||
}
|
||||
|
||||
// @public (undocumented)
|
||||
export interface PopStateEvent {
|
||||
interface PopStateEvent_2 {
|
||||
// (undocumented)
|
||||
pop?: boolean;
|
||||
// (undocumented)
|
||||
|
@ -608,6 +610,8 @@ export interface PopStateEvent {
|
|||
url?: string;
|
||||
}
|
||||
|
||||
export { PopStateEvent_2 as PopStateEvent }
|
||||
|
||||
// @public
|
||||
export function registerLocaleData(data: any, localeId?: string | any, extraData?: any): void;
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
```ts
|
||||
|
||||
import { InjectionToken } from '@angular/core';
|
||||
import { Location } from '@angular/common';
|
||||
import { Location as Location_2 } from '@angular/common';
|
||||
import { LocationChangeListener } from '@angular/common';
|
||||
import { LocationStrategy } from '@angular/common';
|
||||
import { PlatformLocation } from '@angular/common';
|
||||
|
@ -97,7 +97,7 @@ export interface MockPlatformLocationConfig {
|
|||
}
|
||||
|
||||
// @public
|
||||
export class SpyLocation implements Location {
|
||||
export class SpyLocation implements Location_2 {
|
||||
// (undocumented)
|
||||
back(): void;
|
||||
// (undocumented)
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
```ts
|
||||
|
||||
import { InjectionToken } from '@angular/core';
|
||||
import { Location } from '@angular/common';
|
||||
import { Location as Location_2 } from '@angular/common';
|
||||
import { LocationStrategy } from '@angular/common';
|
||||
import { ModuleWithProviders } from '@angular/core';
|
||||
import { PlatformLocation } from '@angular/common';
|
||||
|
@ -15,7 +15,7 @@ import { UpgradeModule } from '@angular/upgrade/static';
|
|||
export class $locationShim {
|
||||
$$parse(url: string): void;
|
||||
$$parseLinkUrl(url: string, relHref?: string | null): boolean;
|
||||
constructor($injector: any, location: Location, platformLocation: PlatformLocation, urlCodec: UrlCodec, locationStrategy: LocationStrategy);
|
||||
constructor($injector: any, location: Location_2, platformLocation: PlatformLocation, urlCodec: UrlCodec, locationStrategy: LocationStrategy);
|
||||
absUrl(): string;
|
||||
hash(): string;
|
||||
// (undocumented)
|
||||
|
@ -50,7 +50,7 @@ export class $locationShim {
|
|||
// @public
|
||||
export class $locationShimProvider {
|
||||
$get(): $locationShim;
|
||||
constructor(ngUpgrade: UpgradeModule, location: Location, platformLocation: PlatformLocation, urlCodec: UrlCodec, locationStrategy: LocationStrategy);
|
||||
constructor(ngUpgrade: UpgradeModule, location: Location_2, platformLocation: PlatformLocation, urlCodec: UrlCodec, locationStrategy: LocationStrategy);
|
||||
hashPrefix(prefix?: string): void;
|
||||
html5Mode(mode?: any): void;
|
||||
}
|
||||
|
|
|
@ -269,7 +269,7 @@ export function createPlatformFactory(parentPlatformFactory: ((extraProviders?:
|
|||
// @public
|
||||
export const CUSTOM_ELEMENTS_SCHEMA: SchemaMetadata;
|
||||
|
||||
// @public
|
||||
// @public (undocumented)
|
||||
export interface DebugElement extends DebugNode {
|
||||
readonly attributes: {
|
||||
[key: string]: string | null;
|
||||
|
|
|
@ -5,7 +5,9 @@
|
|||
```ts
|
||||
|
||||
// @public
|
||||
export const $localize: LocalizeFn;
|
||||
const $localize_2: LocalizeFn;
|
||||
|
||||
export { $localize_2 as $localize }
|
||||
|
||||
// @public (undocumented)
|
||||
export interface LocalizeFn {
|
||||
|
|
|
@ -13,7 +13,7 @@ import { ElementRef } from '@angular/core';
|
|||
import { EventEmitter } from '@angular/core';
|
||||
import { InjectionToken } from '@angular/core';
|
||||
import { Injector } from '@angular/core';
|
||||
import { Location } from '@angular/common';
|
||||
import { Location as Location_2 } from '@angular/common';
|
||||
import { LocationStrategy } from '@angular/common';
|
||||
import { ModuleWithProviders } from '@angular/core';
|
||||
import { NgModuleFactory } from '@angular/core';
|
||||
|
@ -181,7 +181,9 @@ export type DeprecatedLoadChildren = string;
|
|||
export type DetachedRouteHandle = {};
|
||||
|
||||
// @public
|
||||
export type Event = RouterEvent | RouteConfigLoadStart | RouteConfigLoadEnd | ChildActivationStart | ChildActivationEnd | ActivationStart | ActivationEnd | Scroll;
|
||||
type Event_2 = RouterEvent | RouteConfigLoadStart | RouteConfigLoadEnd | ChildActivationStart | ChildActivationEnd | ActivationStart | ActivationEnd | Scroll;
|
||||
|
||||
export { Event_2 as Event }
|
||||
|
||||
// @public
|
||||
export interface ExtraOptions {
|
||||
|
@ -465,13 +467,13 @@ export class RouteConfigLoadStart {
|
|||
|
||||
// @public
|
||||
export class Router {
|
||||
constructor(rootComponentType: Type<any> | null, urlSerializer: UrlSerializer, rootContexts: ChildrenOutletContexts, location: Location, injector: Injector, loader: NgModuleFactoryLoader, compiler: Compiler, config: Routes);
|
||||
constructor(rootComponentType: Type<any> | null, urlSerializer: UrlSerializer, rootContexts: ChildrenOutletContexts, location: Location_2, injector: Injector, loader: NgModuleFactoryLoader, compiler: Compiler, config: Routes);
|
||||
// (undocumented)
|
||||
config: Routes;
|
||||
createUrlTree(commands: any[], navigationExtras?: UrlCreationOptions): UrlTree;
|
||||
dispose(): void;
|
||||
errorHandler: ErrorHandler;
|
||||
readonly events: Observable<Event>;
|
||||
readonly events: Observable<Event_2>;
|
||||
getCurrentNavigation(): Navigation | null;
|
||||
initialNavigation(): void;
|
||||
// @deprecated
|
||||
|
|
|
@ -8,7 +8,7 @@ import { ChildrenOutletContexts } from '@angular/router';
|
|||
import { Compiler } from '@angular/core';
|
||||
import { ExtraOptions } from '@angular/router';
|
||||
import { Injector } from '@angular/core';
|
||||
import { Location } from '@angular/common';
|
||||
import { Location as Location_2 } from '@angular/common';
|
||||
import { ModuleWithProviders } from '@angular/core';
|
||||
import { NgModuleFactory } from '@angular/core';
|
||||
import { NgModuleFactoryLoader } from '@angular/core';
|
||||
|
@ -25,10 +25,10 @@ export class RouterTestingModule {
|
|||
}
|
||||
|
||||
// @public
|
||||
export function setupTestingRouter(urlSerializer: UrlSerializer, contexts: ChildrenOutletContexts, location: Location, loader: NgModuleFactoryLoader, compiler: Compiler, injector: Injector, routes: Route[][], opts?: ExtraOptions, urlHandlingStrategy?: UrlHandlingStrategy): Router;
|
||||
export function setupTestingRouter(urlSerializer: UrlSerializer, contexts: ChildrenOutletContexts, location: Location_2, loader: NgModuleFactoryLoader, compiler: Compiler, injector: Injector, routes: Route[][], opts?: ExtraOptions, urlHandlingStrategy?: UrlHandlingStrategy): Router;
|
||||
|
||||
// @public @deprecated
|
||||
export function setupTestingRouter(urlSerializer: UrlSerializer, contexts: ChildrenOutletContexts, location: Location, loader: NgModuleFactoryLoader, compiler: Compiler, injector: Injector, routes: Route[][], urlHandlingStrategy?: UrlHandlingStrategy): Router;
|
||||
export function setupTestingRouter(urlSerializer: UrlSerializer, contexts: ChildrenOutletContexts, location: Location_2, loader: NgModuleFactoryLoader, compiler: Compiler, injector: Injector, routes: Route[][], urlHandlingStrategy?: UrlHandlingStrategy): Router;
|
||||
|
||||
// @public
|
||||
export class SpyNgModuleFactoryLoader implements NgModuleFactoryLoader {
|
||||
|
|
|
@ -72,7 +72,7 @@ export interface Filesystem {
|
|||
}
|
||||
|
||||
// @public
|
||||
export class Generator {
|
||||
class Generator_2 {
|
||||
constructor(fs: Filesystem, baseHref: string);
|
||||
// (undocumented)
|
||||
readonly fs: Filesystem;
|
||||
|
@ -80,6 +80,8 @@ export class Generator {
|
|||
process(config: Config): Promise<Object>;
|
||||
}
|
||||
|
||||
export { Generator_2 as Generator }
|
||||
|
||||
// @public (undocumented)
|
||||
export type Glob = string;
|
||||
|
||||
|
|
Loading…
Reference in New Issue