Open MarianoFacundoArch opened 5 months ago
Can we adapt the code so that it supports bigint?
/@flatten-js/interval-tree/dist/main.mjs:155 this.item.key = new Interval(Math.min(key[0], key[1]), Math.max(key[0], key[1])); ^
TypeError: Cannot convert a BigInt value to a number at Math.min ()
Issue resolved in v1.1.3 I changed usage of Math functions to simple expression @MarianoFacundoArch , please confirm if this is enough, I've never worked before with bigint numbers.
Can we adapt the code so that it supports bigint?
/@flatten-js/interval-tree/dist/main.mjs:155 this.item.key = new Interval(Math.min(key[0], key[1]), Math.max(key[0], key[1])); ^
TypeError: Cannot convert a BigInt value to a number at Math.min ()