I honestly don't understand es modules that well. I know how it's intded to work but never really understood the interop modes with typescript and other bundlers. I'm trying to use
tslog
tslog
which is exported as an es moudle but when I do a standard import and try to use it, I get
logger.ts:6 Uncaught TypeError: _tslog.Logger is not a constructor
logger.ts:6 Uncaught TypeError: _tslog.Logger is not a constructor