From 9133935b74275fb9d85bc6d7c1a47c8e840b25e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mi=C5=A1ko=20Hevery?= Date: Tue, 4 Dec 2018 14:08:34 -0800 Subject: [PATCH] fixup! fix(core): More precise return type for `InjectableDecorator` --- tools/public_api_guard/core/core.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/public_api_guard/core/core.d.ts b/tools/public_api_guard/core/core.d.ts index 6524dde4a5..415869dac3 100644 --- a/tools/public_api_guard/core/core.d.ts +++ b/tools/public_api_guard/core/core.d.ts @@ -382,10 +382,10 @@ export interface Injectable { export declare const Injectable: InjectableDecorator; export interface InjectableDecorator { - (): any; + (): TypeDecorator; (options?: { providedIn: Type | 'root' | null; - } & InjectableProvider): any; + } & InjectableProvider): TypeDecorator; new (): Injectable; new (options?: { providedIn: Type | 'root' | null;