getParameterMetadata() function
Home > @cbnsndwch/nest-zero-synced-queries > getParameterMetadata
getParameterMetadata() function
Get parameter metadata for a method.
Signature:
export declare function getParameterMetadata(
target: any,
propertyKey: string | symbol
): SyncedQueryParamMetadata[];Parameters
Parameter
Type
Description
target
any
The target object (class prototype)
propertyKey
string | symbol
The method name
Returns:
Array of parameter metadata, sorted by parameter index
How was this page?