Last active
March 20, 2018 18:47
-
-
Save alexzuza/8585c97e32e6d124df88f9d7fb6c69b7 to your computer and use it in GitHub Desktop.
DI Injectable new API
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export interface InjectableDecorator { | |
(): any; | |
(options?: {providedIn: Type<any>| 'root' | null}&InjectableProvider): any; | |
new (): Injectable; | |
new (options?: {providedIn: Type<any>| 'root' | null}&InjectableProvider): Injectable; | |
} | |
export type InjectableProvider = ValueSansProvider | ExistingSansProvider | | |
StaticClassSansProvider | ConstructorSansProvider | FactorySansProvider | ClassSansProvider; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment