mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
* Added support for bigint to API routes Closes #7980 * added BigInt test to get result Co-authored-by: Joe Haddad <[email protected]>
5 lines
89 B
JavaScript
5 lines
89 B
JavaScript
export default (req, res) => {
|
|
res.statusCode = 200
|
|
res.send((1n + 2n).toString())
|
|
}
|