UNPKG

521 BTypeScriptView Raw
1import { type ParameterDecorator } from "../typings/index.js";
2import { type DecoratorTypeOptions, type DeprecationOptions, type DescriptionOptions, type ReturnTypeFunc, type ValidateOptions } from "./types.js";
3export type ArgOptions = DecoratorTypeOptions & DescriptionOptions & ValidateOptions & DeprecationOptions;
4export declare function Arg(name: string, options?: ArgOptions): ParameterDecorator;
5export declare function Arg(name: string, returnTypeFunc: ReturnTypeFunc, options?: ArgOptions): ParameterDecorator;