Updated the files.
This commit is contained in:
parent
1553e6b971
commit
753967d4f5
23418 changed files with 3784666 additions and 0 deletions
56
my-app/node_modules/@angular/router/upgrade/index.d.ts
generated
vendored
Executable file
56
my-app/node_modules/@angular/router/upgrade/index.d.ts
generated
vendored
Executable file
|
@ -0,0 +1,56 @@
|
|||
/**
|
||||
* @license Angular v17.1.3
|
||||
* (c) 2010-2022 Google LLC. https://angular.io/
|
||||
* License: MIT
|
||||
*/
|
||||
|
||||
|
||||
import { ComponentRef } from '@angular/core';
|
||||
import { InjectionToken } from '@angular/core';
|
||||
import { UpgradeModule } from '@angular/upgrade/static';
|
||||
|
||||
/**
|
||||
* Creates an initializer that sets up `ngRoute` integration
|
||||
* along with setting up the Angular router.
|
||||
*
|
||||
* @usageNotes
|
||||
*
|
||||
* <code-example language="typescript">
|
||||
* @NgModule({
|
||||
* imports: [
|
||||
* RouterModule.forRoot(SOME_ROUTES),
|
||||
* UpgradeModule
|
||||
* ],
|
||||
* providers: [
|
||||
* RouterUpgradeInitializer
|
||||
* ]
|
||||
* })
|
||||
* export class AppModule {
|
||||
* ngDoBootstrap() {}
|
||||
* }
|
||||
* </code-example>
|
||||
*
|
||||
* @publicApi
|
||||
*/
|
||||
export declare const RouterUpgradeInitializer: {
|
||||
provide: InjectionToken<readonly ((compRef: ComponentRef<any>) => void)[]>;
|
||||
multi: boolean;
|
||||
useFactory: (ngUpgrade: UpgradeModule) => () => void;
|
||||
deps: (typeof UpgradeModule)[];
|
||||
};
|
||||
|
||||
/**
|
||||
* Sets up a location change listener to trigger `history.pushState`.
|
||||
* Works around the problem that `onPopState` does not trigger `history.pushState`.
|
||||
* Must be called *after* calling `UpgradeModule.bootstrap`.
|
||||
*
|
||||
* @param ngUpgrade The upgrade NgModule.
|
||||
* @param urlType The location strategy.
|
||||
* @see {@link HashLocationStrategy}
|
||||
* @see {@link PathLocationStrategy}
|
||||
*
|
||||
* @publicApi
|
||||
*/
|
||||
export declare function setUpLocationSync(ngUpgrade: UpgradeModule, urlType?: 'path' | 'hash'): void;
|
||||
|
||||
export { }
|
Loading…
Add table
Add a link
Reference in a new issue