Skip to content

Commit d2aa774

Browse files
devversionjelbourn
authored andcommitted
chore(overlay): remove duplicate ComponentType interface (#8450)
* Removes a duplicated `ComponentType` interface from the `@angular/cdk/overlay`. The `ComponentType` interface should live in the portal entry point.
1 parent 81db650 commit d2aa774

File tree

2 files changed

+1
-12
lines changed

2 files changed

+1
-12
lines changed

src/cdk/overlay/generic-component-type.ts

Lines changed: 0 additions & 11 deletions
This file was deleted.

src/cdk/portal/portal.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import {
2323
throwUnknownPortalTypeError
2424
} from './portal-errors';
2525

26-
26+
/** Interface that can be used to generically type a class. */
2727
export interface ComponentType<T> {
2828
new (...args: any[]): T;
2929
}

0 commit comments

Comments
 (0)