mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
be3edad60e
We enabled a lint rule internally to require that multi-provided `InjectionToken`s have a `readonly` array type, the tokens in this PR do not follow this rule and are causing lint violations. Fixes #51124 PR Close #51125
724 B
724 B
API Report File for "@angular/router_upgrade"
Do not edit this file. It is a report generated by API Extractor.
import { ComponentRef } from '@angular/core';
import { InjectionToken } from '@angular/core';
import { UpgradeModule } from '@angular/upgrade/static';
// @public
export const RouterUpgradeInitializer: {
provide: InjectionToken<readonly ((compRef: ComponentRef<any>) => void)[]>;
multi: boolean;
useFactory: (ngUpgrade: UpgradeModule) => () => void;
deps: (typeof UpgradeModule)[];
};
// @public
export function setUpLocationSync(ngUpgrade: UpgradeModule, urlType?: 'path' | 'hash'): void;
// (No @packageDocumentation comment for this package)