Type alias IsNumberProps

IsNumberProps: {
    max?: number;
    min?: number;
    stringified?: true;
} & ({
    format?: "float" | "double";
    type?: undefined;
} | {
    format?: "int32" | "int64";
    type: "integer";
})

Type declaration

  • Optional max?: number
  • Optional min?: number
  • Optional stringified?: true

    Will convert number strings into numbers. Useful for @Query DTOs

Generated using TypeDoc