UNPKG

@eddaic/nestjs-decorators

Version:

Additional decorators intended for use with NestJS framework.

14 lines (13 loc) 404 B
import { ValidationOptions } from 'class-validator'; /** * Checks if the value is a bigint or can be converted to a bigint. * @param value * @returns */ export declare function isBigInt(value: unknown): boolean; /** * Checks if the value is a bigint or can be converted to a bigint. * @param options * @returns */ export declare function IsBigInt(options?: ValidationOptions): PropertyDecorator;