You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to import this lib from a nodejs typescript project in module: commonjs mode it is unusable.
I Import via import Decimal from 'break_eternity.js';.
Any call to new Decimal(); results in TypeError: break_eternity_js_1.default is not a constructor. I have some experience with these issues myself and will attempt to debug when I have time, but thought I should track it here sooner then later
The text was updated successfully, but these errors were encountered:
The bili lib I originally set up for TS looks to have been abandoned, and we have esbuild that can do all of the things now. Might be worth switching over to it.
@HcgRandon it's been a while but if you're still using this lib, could you try it with esbuild?
When trying to import this lib from a nodejs typescript project in
module: commonjs
mode it is unusable.I Import via
import Decimal from 'break_eternity.js';
.Any call to
new Decimal();
results inTypeError: break_eternity_js_1.default is not a constructor
. I have some experience with these issues myself and will attempt to debug when I have time, but thought I should track it here sooner then laterThe text was updated successfully, but these errors were encountered: