feat(upgrade): compilerOptions in bootstrap (#10575)

This commit is contained in:
Karl Seamon
2016-10-11 18:48:08 -04:00
committed by Tobias Bosch
parent 3df00828d7
commit 5effc330ed
3 changed files with 37 additions and 5 deletions

View File

@ -1,6 +1,6 @@
/** @stable */
export declare class UpgradeAdapter {
constructor(ng2AppModule: Type<any>);
constructor(ng2AppModule: Type<any>, compilerOptions?: CompilerOptions);
bootstrap(element: Element, modules?: any[], config?: angular.IAngularBootstrapConfig): UpgradeAdapterRef;
downgradeNg2Component(type: Type<any>): Function;
downgradeNg2Provider(token: any): Function;