Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 0 additions & 31 deletions 31 goldens/public-api/upgrade/index.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,39 +4,8 @@

```ts

import { CompilerOptions } from '@angular/core';
import { Injector } from '@angular/core';
import { NgModuleRef } from '@angular/core';
import { Type } from '@angular/core';
import { Version } from '@angular/core';

// @public @deprecated
export class UpgradeAdapter {
constructor(ng2AppModule: Type<any>, compilerOptions?: CompilerOptions | undefined);
bootstrap(element: Element, modules?: any[], config?: 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;
}

// @public @deprecated
export class UpgradeAdapterRef {
dispose(): void;
// (undocumented)
ng1Injector: IInjectorService;
// (undocumented)
ng1RootScope: IRootScopeService;
// (undocumented)
ng2Injector: Injector;
// (undocumented)
ng2ModuleRef: NgModuleRef<any>;
ready(fn: (upgradeAdapterRef: UpgradeAdapterRef) => void): void;
}

// @public (undocumented)
export const VERSION: Version;

Expand Down
5 changes: 1 addition & 4 deletions 5 modules/playground/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,4 @@ demonstrates how a specific example can be built and served with Bazel:
```bash
# e.g. src/zippy_component
pnpm bazel run modules/playground/src/zippy_component:devserver

# e.g. src/upgrade
pnpm bazel run modules/playground/src/upgrade:devserver
```
```
7 changes: 0 additions & 7 deletions 7 modules/playground/e2e_test/upgrade/BUILD.bazel

This file was deleted.

35 changes: 0 additions & 35 deletions 35 modules/playground/e2e_test/upgrade/upgrade_spec.ts

This file was deleted.

49 changes: 0 additions & 49 deletions 49 modules/playground/src/upgrade/BUILD.bazel

This file was deleted.

25 changes: 0 additions & 25 deletions 25 modules/playground/src/upgrade/index.html

This file was deleted.

101 changes: 0 additions & 101 deletions 101 modules/playground/src/upgrade/main.ts

This file was deleted.

1 change: 0 additions & 1 deletion 1 packages/upgrade/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ ng_project(
srcs = glob(
[
"*.ts",
"src/dynamic/src/*.ts",
],
),
deps = [
Expand Down
1 change: 0 additions & 1 deletion 1 packages/upgrade/public_api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,5 @@
* Angular 1 and Angular 2+ to run side by side in the same application.
*/
export {VERSION} from './src/common/src/version';
export {UpgradeAdapter, UpgradeAdapterRef} from './src/dynamic/src/upgrade_adapter';

// This file only re-exports content of the `src` folder. Keep it that way.
Loading
Loading
Morty Proxy This is a proxified and sanitized view of the page, visit original site.