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
|
// @public
|
||||||
export interface AnimationEvent {
|
interface AnimationEvent_2 {
|
||||||
disabled: boolean;
|
disabled: boolean;
|
||||||
element: any;
|
element: any;
|
||||||
fromState: string;
|
fromState: string;
|
||||||
|
@ -59,6 +59,8 @@ export interface AnimationEvent {
|
||||||
triggerName: string;
|
triggerName: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export { AnimationEvent_2 as AnimationEvent }
|
||||||
|
|
||||||
// @public
|
// @public
|
||||||
export abstract class AnimationFactory {
|
export abstract class AnimationFactory {
|
||||||
abstract create(element: any, options?: AnimationOptions): AnimationPlayer;
|
abstract create(element: any, options?: AnimationOptions): AnimationPlayer;
|
||||||
|
|
|
@ -262,7 +262,7 @@ export class KeyValuePipe implements PipeTransform {
|
||||||
}
|
}
|
||||||
|
|
||||||
// @public
|
// @public
|
||||||
export class Location {
|
class Location_2 {
|
||||||
constructor(platformStrategy: LocationStrategy, platformLocation: PlatformLocation);
|
constructor(platformStrategy: LocationStrategy, platformLocation: PlatformLocation);
|
||||||
back(): void;
|
back(): void;
|
||||||
forward(): void;
|
forward(): void;
|
||||||
|
@ -278,9 +278,11 @@ export class Location {
|
||||||
prepareExternalUrl(url: string): string;
|
prepareExternalUrl(url: string): string;
|
||||||
replaceState(path: string, query?: string, state?: any): void;
|
replaceState(path: string, query?: string, state?: any): void;
|
||||||
static stripTrailingSlash: (url: string) => string;
|
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
|
// @public
|
||||||
export const LOCATION_INITIALIZED: InjectionToken<Promise<any>>;
|
export const LOCATION_INITIALIZED: InjectionToken<Promise<any>>;
|
||||||
|
|
||||||
|
@ -597,7 +599,7 @@ export enum Plural {
|
||||||
}
|
}
|
||||||
|
|
||||||
// @public (undocumented)
|
// @public (undocumented)
|
||||||
export interface PopStateEvent {
|
interface PopStateEvent_2 {
|
||||||
// (undocumented)
|
// (undocumented)
|
||||||
pop?: boolean;
|
pop?: boolean;
|
||||||
// (undocumented)
|
// (undocumented)
|
||||||
|
@ -608,6 +610,8 @@ export interface PopStateEvent {
|
||||||
url?: string;
|
url?: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export { PopStateEvent_2 as PopStateEvent }
|
||||||
|
|
||||||
// @public
|
// @public
|
||||||
export function registerLocaleData(data: any, localeId?: string | any, extraData?: any): void;
|
export function registerLocaleData(data: any, localeId?: string | any, extraData?: any): void;
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
```ts
|
```ts
|
||||||
|
|
||||||
import { InjectionToken } from '@angular/core';
|
import { InjectionToken } from '@angular/core';
|
||||||
import { Location } from '@angular/common';
|
import { Location as Location_2 } from '@angular/common';
|
||||||
import { LocationChangeListener } from '@angular/common';
|
import { LocationChangeListener } from '@angular/common';
|
||||||
import { LocationStrategy } from '@angular/common';
|
import { LocationStrategy } from '@angular/common';
|
||||||
import { PlatformLocation } from '@angular/common';
|
import { PlatformLocation } from '@angular/common';
|
||||||
|
@ -97,7 +97,7 @@ export interface MockPlatformLocationConfig {
|
||||||
}
|
}
|
||||||
|
|
||||||
// @public
|
// @public
|
||||||
export class SpyLocation implements Location {
|
export class SpyLocation implements Location_2 {
|
||||||
// (undocumented)
|
// (undocumented)
|
||||||
back(): void;
|
back(): void;
|
||||||
// (undocumented)
|
// (undocumented)
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
```ts
|
```ts
|
||||||
|
|
||||||
import { InjectionToken } from '@angular/core';
|
import { InjectionToken } from '@angular/core';
|
||||||
import { Location } from '@angular/common';
|
import { Location as Location_2 } from '@angular/common';
|
||||||
import { LocationStrategy } from '@angular/common';
|
import { LocationStrategy } from '@angular/common';
|
||||||
import { ModuleWithProviders } from '@angular/core';
|
import { ModuleWithProviders } from '@angular/core';
|
||||||
import { PlatformLocation } from '@angular/common';
|
import { PlatformLocation } from '@angular/common';
|
||||||
|
@ -15,7 +15,7 @@ import { UpgradeModule } from '@angular/upgrade/static';
|
||||||
export class $locationShim {
|
export class $locationShim {
|
||||||
$$parse(url: string): void;
|
$$parse(url: string): void;
|
||||||
$$parseLinkUrl(url: string, relHref?: string | null): boolean;
|
$$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;
|
absUrl(): string;
|
||||||
hash(): string;
|
hash(): string;
|
||||||
// (undocumented)
|
// (undocumented)
|
||||||
|
@ -50,7 +50,7 @@ export class $locationShim {
|
||||||
// @public
|
// @public
|
||||||
export class $locationShimProvider {
|
export class $locationShimProvider {
|
||||||
$get(): $locationShim;
|
$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;
|
hashPrefix(prefix?: string): void;
|
||||||
html5Mode(mode?: any): void;
|
html5Mode(mode?: any): void;
|
||||||
}
|
}
|
||||||
|
|
|
@ -269,7 +269,7 @@ export function createPlatformFactory(parentPlatformFactory: ((extraProviders?:
|
||||||
// @public
|
// @public
|
||||||
export const CUSTOM_ELEMENTS_SCHEMA: SchemaMetadata;
|
export const CUSTOM_ELEMENTS_SCHEMA: SchemaMetadata;
|
||||||
|
|
||||||
// @public
|
// @public (undocumented)
|
||||||
export interface DebugElement extends DebugNode {
|
export interface DebugElement extends DebugNode {
|
||||||
readonly attributes: {
|
readonly attributes: {
|
||||||
[key: string]: string | null;
|
[key: string]: string | null;
|
||||||
|
|
|
@ -5,7 +5,9 @@
|
||||||
```ts
|
```ts
|
||||||
|
|
||||||
// @public
|
// @public
|
||||||
export const $localize: LocalizeFn;
|
const $localize_2: LocalizeFn;
|
||||||
|
|
||||||
|
export { $localize_2 as $localize }
|
||||||
|
|
||||||
// @public (undocumented)
|
// @public (undocumented)
|
||||||
export interface LocalizeFn {
|
export interface LocalizeFn {
|
||||||
|
|
|
@ -13,7 +13,7 @@ import { ElementRef } from '@angular/core';
|
||||||
import { EventEmitter } from '@angular/core';
|
import { EventEmitter } from '@angular/core';
|
||||||
import { InjectionToken } from '@angular/core';
|
import { InjectionToken } from '@angular/core';
|
||||||
import { Injector } 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 { LocationStrategy } from '@angular/common';
|
||||||
import { ModuleWithProviders } from '@angular/core';
|
import { ModuleWithProviders } from '@angular/core';
|
||||||
import { NgModuleFactory } from '@angular/core';
|
import { NgModuleFactory } from '@angular/core';
|
||||||
|
@ -181,7 +181,9 @@ export type DeprecatedLoadChildren = string;
|
||||||
export type DetachedRouteHandle = {};
|
export type DetachedRouteHandle = {};
|
||||||
|
|
||||||
// @public
|
// @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
|
// @public
|
||||||
export interface ExtraOptions {
|
export interface ExtraOptions {
|
||||||
|
@ -465,13 +467,13 @@ export class RouteConfigLoadStart {
|
||||||
|
|
||||||
// @public
|
// @public
|
||||||
export class Router {
|
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)
|
// (undocumented)
|
||||||
config: Routes;
|
config: Routes;
|
||||||
createUrlTree(commands: any[], navigationExtras?: UrlCreationOptions): UrlTree;
|
createUrlTree(commands: any[], navigationExtras?: UrlCreationOptions): UrlTree;
|
||||||
dispose(): void;
|
dispose(): void;
|
||||||
errorHandler: ErrorHandler;
|
errorHandler: ErrorHandler;
|
||||||
readonly events: Observable<Event>;
|
readonly events: Observable<Event_2>;
|
||||||
getCurrentNavigation(): Navigation | null;
|
getCurrentNavigation(): Navigation | null;
|
||||||
initialNavigation(): void;
|
initialNavigation(): void;
|
||||||
// @deprecated
|
// @deprecated
|
||||||
|
|
|
@ -8,7 +8,7 @@ import { ChildrenOutletContexts } from '@angular/router';
|
||||||
import { Compiler } from '@angular/core';
|
import { Compiler } from '@angular/core';
|
||||||
import { ExtraOptions } from '@angular/router';
|
import { ExtraOptions } from '@angular/router';
|
||||||
import { Injector } from '@angular/core';
|
import { Injector } from '@angular/core';
|
||||||
import { Location } from '@angular/common';
|
import { Location as Location_2 } from '@angular/common';
|
||||||
import { ModuleWithProviders } from '@angular/core';
|
import { ModuleWithProviders } from '@angular/core';
|
||||||
import { NgModuleFactory } from '@angular/core';
|
import { NgModuleFactory } from '@angular/core';
|
||||||
import { NgModuleFactoryLoader } from '@angular/core';
|
import { NgModuleFactoryLoader } from '@angular/core';
|
||||||
|
@ -25,10 +25,10 @@ export class RouterTestingModule {
|
||||||
}
|
}
|
||||||
|
|
||||||
// @public
|
// @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
|
// @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
|
// @public
|
||||||
export class SpyNgModuleFactoryLoader implements NgModuleFactoryLoader {
|
export class SpyNgModuleFactoryLoader implements NgModuleFactoryLoader {
|
||||||
|
|
|
@ -72,7 +72,7 @@ export interface Filesystem {
|
||||||
}
|
}
|
||||||
|
|
||||||
// @public
|
// @public
|
||||||
export class Generator {
|
class Generator_2 {
|
||||||
constructor(fs: Filesystem, baseHref: string);
|
constructor(fs: Filesystem, baseHref: string);
|
||||||
// (undocumented)
|
// (undocumented)
|
||||||
readonly fs: Filesystem;
|
readonly fs: Filesystem;
|
||||||
|
@ -80,6 +80,8 @@ export class Generator {
|
||||||
process(config: Config): Promise<Object>;
|
process(config: Config): Promise<Object>;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export { Generator_2 as Generator }
|
||||||
|
|
||||||
// @public (undocumented)
|
// @public (undocumented)
|
||||||
export type Glob = string;
|
export type Glob = string;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue