Methods
createNullArray
- createNullArray(length: number): any[]
getArgumentsLength
- getArgumentsLength<T>(keys: string[], metadata: T): number
-
Type parameters
Parameters
-
keys: string[]
-
metadata: T
Returns number
getContextFactory
-
Type parameters
-
TContext: string = ContextType
Parameters
-
contextType: TContext
-
Optional instance: object
-
Optional callback: Function
getCustomFactory
- getCustomFactory(factory: (...args: unknown[]) => void, data: unknown, contextFactory: (args: unknown[]) => ExecutionContextHost): (...args: unknown[]) => unknown
-
Parameters
-
factory: (...args: unknown[]) => void
-
- (...args: unknown[]): void
-
data: unknown
-
Returns (...args: unknown[]) => unknown
-
- (...args: unknown[]): unknown
-
Parameters
Returns unknown
mapParamType
- mapParamType(key: string): string
-
Parameters
Returns string
reflectCallbackMetadata
- reflectCallbackMetadata<T>(instance: Controller, methodName: string, metadataKey: string): T
-
Type parameters
Parameters
-
-
methodName: string
-
metadataKey: string
Returns T
reflectCallbackParamtypes
- reflectCallbackParamtypes(instance: Controller, methodName: string): any[]
reflectPassthrough
- reflectPassthrough(instance: Controller, methodName: string): boolean
-
Parameters
Returns boolean