Skip to content

Commit

Permalink
chore(overlay): remove duplicate ComponentType interface (#8450)
Browse files Browse the repository at this point in the history
* Removes a duplicated `ComponentType` interface from the `@angular/cdk/overlay`. The `ComponentType` interface should live in the portal entry point.
  • Loading branch information
devversion authored and jelbourn committed Nov 20, 2017
1 parent 81db650 commit d2aa774
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
11 changes: 0 additions & 11 deletions src/cdk/overlay/generic-component-type.ts

This file was deleted.

2 changes: 1 addition & 1 deletion src/cdk/portal/portal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import {
throwUnknownPortalTypeError
} from './portal-errors';


/** Interface that can be used to generically type a class. */
export interface ComponentType<T> {
new (...args: any[]): T;
}
Expand Down

0 comments on commit d2aa774

Please sign in to comment.