fixup! fix(core): More precise return type for InjectableDecorator
This commit is contained in:
parent
170ad11718
commit
9133935b74
4
tools/public_api_guard/core/core.d.ts
vendored
4
tools/public_api_guard/core/core.d.ts
vendored
@ -382,10 +382,10 @@ export interface Injectable {
|
||||
export declare const Injectable: InjectableDecorator;
|
||||
|
||||
export interface InjectableDecorator {
|
||||
(): any;
|
||||
(): TypeDecorator;
|
||||
(options?: {
|
||||
providedIn: Type<any> | 'root' | null;
|
||||
} & InjectableProvider): any;
|
||||
} & InjectableProvider): TypeDecorator;
|
||||
new (): Injectable;
|
||||
new (options?: {
|
||||
providedIn: Type<any> | 'root' | null;
|
||||
|
Loading…
x
Reference in New Issue
Block a user