refactor(core): remove duplicate InjectableType declaration (#34679)

This duplication causes a compilation error with TypeScript 3.7

PR Close #34679
This commit is contained in:
Igor Minar
2020-01-08 11:42:31 -08:00
committed by atscott
parent f7a2ed7d66
commit f312848c2e
2 changed files with 1 additions and 8 deletions

View File

@ -86,12 +86,6 @@ export const Injectable: InjectableDecorator = makeDecorator(
'Injectable', undefined, undefined, undefined,
(type: Type<any>, meta: Injectable) => SWITCH_COMPILE_INJECTABLE(type as any, meta));
/**
* Type representing injectable service.
*
* @publicApi
*/
export interface InjectableType<T> extends Type<T> { ɵprov: ɵɵInjectableDef<T>; }
/**
* Supports @Injectable() in JIT mode for Render2.