@kilbergr/is-bigint
TypeScript icon, indicating that this package has built-in type declarations

0.1.0-Dev.7 • Public • Published

IsBigint

This a temporary fix for missing @IsBigint decorator from class-validator package.

The decorator works the same ways as the @IsNumber decorator from the same package.

This package becomes obsolete when the @IsBigint decorator is added to the class-validator package.

Please follow this pull request on the class-validator repository.

Installation

npm install @kilbergr/is-bigint class-validator

Usage

import { IsBigint } from '@kilbergr/is-bigint';

class MyClass {
  @IsBigint()
  myField: bigint;
}

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @kilbergr/is-bigint

      Weekly Downloads

      1

      Version

      0.1.0-Dev.7

      License

      MIT

      Unpacked Size

      5.16 kB

      Total Files

      14

      Last publish

      Collaborators

      • kilbergr