depends
depends(): (
target
,key
) =>void
The depends
function is used for dependency injection in TypeScript, specifically for injecting
the ctx
property.
Returns
Function
The function depends()
returns another function.
Parameters
• target:
object
• key:
PropKey
Returns
void