Closed ForbesLindesay closed 1 year ago
Add support for BigInt as a primative value
import * as t from 'funtypes'; const MySchema = t.Object({ myInteger: t.BigInt, });
✅ Valid:
{ myInteger: 10n }
{ myInteger: BigInt('10') }
🚨 Invalid:
{ myInteger: 10 }
{ myInteger: '10' }
Edit changelog
Fixes #53
Change Log for funtypes (5.0.3 → 5.1.0)
New Features
Add support for BigInt as a primative value
✅ Valid:
✅ Valid:
🚨 Invalid:
🚨 Invalid:
Edit changelog