build: fix paths to typings files so tsickle resolves imports correctly
Fixes #15080
This commit is contained in:

committed by
Chuck Jazdzewski

parent
0ab49d4cec
commit
410aa33005
25
tools/public_api_guard/upgrade/upgrade.d.ts
vendored
Normal file
25
tools/public_api_guard/upgrade/upgrade.d.ts
vendored
Normal file
@ -0,0 +1,25 @@
|
||||
/** @stable */
|
||||
export declare class UpgradeAdapter {
|
||||
constructor(ng2AppModule: Type<any>, compilerOptions?: CompilerOptions);
|
||||
bootstrap(element: Element, modules?: any[], config?: angular.IAngularBootstrapConfig): UpgradeAdapterRef;
|
||||
downgradeNg2Component(component: Type<any>): Function;
|
||||
downgradeNg2Provider(token: any): Function;
|
||||
registerForNg1Tests(modules?: string[]): UpgradeAdapterRef;
|
||||
upgradeNg1Component(name: string): Type<any>;
|
||||
upgradeNg1Provider(name: string, options?: {
|
||||
asToken: any;
|
||||
}): void;
|
||||
}
|
||||
|
||||
/** @stable */
|
||||
export declare class UpgradeAdapterRef {
|
||||
ng1Injector: angular.IInjectorService;
|
||||
ng1RootScope: angular.IRootScopeService;
|
||||
ng2Injector: Injector;
|
||||
ng2ModuleRef: NgModuleRef<any>;
|
||||
dispose(): void;
|
||||
ready(fn: (upgradeAdapterRef?: UpgradeAdapterRef) => void): void;
|
||||
}
|
||||
|
||||
/** @stable */
|
||||
export declare const VERSION: Version;
|
Reference in New Issue
Block a user