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 declare const Injectable: InjectableDecorator;
|
||||||
|
|
||||||
export interface InjectableDecorator {
|
export interface InjectableDecorator {
|
||||||
(): any;
|
(): TypeDecorator;
|
||||||
(options?: {
|
(options?: {
|
||||||
providedIn: Type<any> | 'root' | null;
|
providedIn: Type<any> | 'root' | null;
|
||||||
} & InjectableProvider): any;
|
} & InjectableProvider): TypeDecorator;
|
||||||
new (): Injectable;
|
new (): Injectable;
|
||||||
new (options?: {
|
new (options?: {
|
||||||
providedIn: Type<any> | 'root' | null;
|
providedIn: Type<any> | 'root' | null;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user