Open lostimever opened 3 years ago
Used in typescript backend, bundled with webpack:
import { parse as JSONBigIntParse } from 'json-bigint'; // import * as JSONBitInt from 'json-bigint' fails too
const parsedRespons: ReqResp = JSONBigIntParse(data as unknown as string);
Results in:
TypeError: r is not a constructor
same here.
I'm getting an error, TypeError: Right-hand side of 'instanceof' is not callable
here
I think this is the same problem as in this issue
My app is bundled with rollup
Maybe later I will try a minimal reproduction
I think those issues all related with #34
environment :vue3+vite+element-plus when used 🔢:
ERROR! like this: