We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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
Uncaught TypeError: Cannot use 'in' operator to search for 'toMap' in 1
The same goes for toJSON(Map().set('test', 1n)).
toJSON(Map().set('test', 1n))
I may be able to add BigInt support if you're open for PRs.'
The text was updated successfully, but these errors were encountered:
Yep, I’ll take a PR - as long as it gracefully skips registering when BigInt is not available.
Alternatively you should be able to add a custom decoder in your application
Sorry, something went wrong.
No branches or pull requests
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.'
The text was updated successfully, but these errors were encountered: