Comments (3)
Thanks for opening an issue!
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.
from lnrpc.
Ah excellent, that works. Thanks!
from lnrpc.
The typings have been fixed in release 0.5.2-beta.0
.
from lnrpc.
Related Issues (20)
- Typed subscribe stream event data HOT 3
- Error: 12 UNIMPLEMENTED: unknown service lnrpc.WalletUnlocker when calling `unlockWallet` HOT 3
- subscribeInvoice type incorrect, returns Readable not Promise HOT 2
- QueryRoutesRequest requires optional fields HOT 3
- Incomplete invoice data in lookupInvoice HOT 1
- Make SSL certificate pinning optional (Necessary for BTCPay support) HOT 1
- Error: 2 UNKNOWN: Stream removed HOT 12
- CloseChannel requires both bytes and str txid HOT 1
- FYI: rpc.proto missing error in packaged electron app HOT 3
- Missing annotations.proto on Windows 10 HOT 3
- SubscribeInvoice endpoint not returning InvoiceState HOT 9
- Unable to pass rHash to SubscribeSingleInvoice method
- Not working on Raspberry Pi Zero HOT 2
- Event for disconnection of lnd ?
- Hanging on subscribeHtlcEvents() HOT 5
- grpcPkgObj.lnrpc.WalletUnlocker is not a constructor HOT 5
- SendPaymentV2 not recognising destCustomRecord for keysend
- sendPayment returns rpc error:code = Canceled desc = context canceled
- Would you be open to a discussion about adapting this to Taro.
- Add lightning-network as a topic to this repository
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lnrpc.