Skip to content

Commit

Permalink
Support BigInt primitive (#37)
Browse files Browse the repository at this point in the history
* Support BigInt primitive

* Fix Linting
  • Loading branch information
svemat01 authored Jul 12, 2022
1 parent 4d97f62 commit f5ed213
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/ScylloTranslator.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
import { types } from 'cassandra-driver';

export type ScylloSafeType = string | number | types.Long | boolean | object;
export type ScylloSafeType =
| string
| number
| bigint
| types.Long
| boolean
| object;
export type ValidDataType =
| string
| number
| bigint
| boolean
| types.Long
| string[]
Expand Down

0 comments on commit f5ed213

Please sign in to comment.