jsdoc-tsd icon indicating copy to clipboard operation
jsdoc-tsd copied to clipboard

TypeError: Do not know how to serialize a BigInt

Open redesigned opened this issue 1 year ago • 0 comments

The following jsdoc type trigger this error:

 /**
  * @param {number} digits
  * @returns {[bigint, bigint]} 
  */
TypeError: Do not know how to serialize a BigInt

Any way to handle this?

In the meantime is there a way to specify files to exclude when using the command?

pnpm exec jsdoc -t node_modules/@otris/jsdoc-tsd -r ./algorithms -d types.d.ts

Many Thanks!

redesigned avatar Mar 27 '24 01:03 redesigned