AngularTS
Preparing search index...
Injectable
Type Alias Injectable<T>
Injectable
:
|
AnnotatedFactory
<
T
extends
abstract
new
(
...
args
:
any
[]
)
=>
any
?
(
...
args
:
ConstructorParameters
<
T
>
)
=>
InstanceType
<
T
>
:
T
,
>
|
(
T
extends
abstract
new
(
...
args
:
any
[]
)
=>
any
?
InjectableClass
<
InstanceType
<
T
>
>
:
never
)
|
T
A factory that can be:
a standalone function,
a dependency-annotated array,
or a class constructor.
Parentheses are required around constructor types when used in unions.
Type Parameters
T
extends
(
(
...
args
:
any
[]
)
=>
any
)
|
(
abstract
new
(
...
args
:
any
[]
)
=>
any
)
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
AngularTS
Loading...
A factory that can be:
Parentheses are required around constructor types when used in unions.