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
It seems that our typings are using export default, rather than export, which prevents Typescript from displaying the correct error message and breaks as * imports. I'll push a fix ASAP to address this issue. Regardless, you must set "esModuleInterop": true in your tsconfig.json if you would like to use a default export.
import createLnRpc from "@radar/lnrpc"
doesn't seem to work.createLnRpc
isn't a function.Platform: darwin_x64
Node: v11.10.1
@radar/lnrpc version: 0.5.2-beta
The text was updated successfully, but these errors were encountered: