
This affects the dynamic version of `upgrade` and makes it more consistent with the static version, while removing an artificial limitation. This commit also refactors the file layout and code, in order to share code wrt to dowgrading components between the dynamic and static versions.
21 lines
728 B
TypeScript
21 lines
728 B
TypeScript
/**
|
|
* @license
|
|
* Copyright Google Inc. All Rights Reserved.
|
|
*
|
|
* Use of this source code is governed by an MIT-style license that can be
|
|
* found in the LICENSE file at https://angular.io/license
|
|
*/
|
|
|
|
/**
|
|
* @module
|
|
* @description
|
|
* Entry point for all public APIs of the upgrade/static package, allowing
|
|
* Angular 1 and Angular 2+ to run side by side in the same application.
|
|
*/
|
|
export {downgradeComponent} from './src/common/downgrade_component';
|
|
export {downgradeInjectable} from './src/common/downgrade_injectable';
|
|
export {UpgradeComponent} from './src/static/upgrade_component';
|
|
export {UpgradeModule} from './src/static/upgrade_module';
|
|
|
|
// This file only re-exports content of the `src` folder. Keep it that way.
|