glenjamin / glenjamin/transit-immutable-js

No support for BigInt

Open
#53 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
250
Forks
27
PR merge metrics
No merged PRs in 30d

Description

```
const { toJSON } = require('transit-immutable-js')
const { Map } = require('immutable')
toJSON(Map().set(1n, 'test')
```
This results in `Uncaught TypeError: Cannot use 'in' operator to search for 'toMap' in 1`

The same goes for `toJSON(Map().set('test', 1n))`.

I may be able to add BigInt support if you're open for PRs.'

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.