Closed cvockrodt closed 3 years ago
Hey @cvockrodt
I see that PutioAPI
has a default
property. Normally importing directly without brackets should import the default
. But here, it imports everything of module to variable. This should be a problem with tsdx
.
You can use PutioAPI.default
to create an api object while I am further investigating.
@cvockrodt could you please let us know if it doesn't work out? I'm closing the issue for now. 😊 🙏
@cvockrodt could you please let us know if it doesn't work out?
Works fine, just not what I originally expected
Edit: clarity
With an
index.js
like this:and the following
package.json
:I receive the following error:
when using node >=13 or 12 with the
--experimental-modules
flag.