@creamapi/cream
Version:
Concise REST API Maker - An extension library for express to create REST APIs faster
18 lines (17 loc) • 537 B
TypeScript
/**
* This class is used to defined meta information about
* method parameters.
* It is used to define bindings between the target method
* and the data source (for example headers, body, ecc.)
*/
export declare class ParameterProp {
index: number;
name: string;
/**
*
* @param index the index of the parameter in the function call
* @param name the name of the parameter in the resource data structure
*/
constructor(index: number, name: string);
}
export type ParameterProps = ParameterProp[];