samchon / nestia-helper

NestJS helper with Type level
MIT License
34 stars 3 forks source link

Let `TypedParam` to support the `nullable` type #11

Closed samchon closed 2 years ago

samchon commented 2 years ago
export function TypedParam
    (
        name: string, 
        type: "boolean"|"number"|"string"|"uuid" = "string",
        nullable: boolean = false
    ): ParameterDecorator;