Skip to content

Commit 049254b

Browse files
committed
lnc-web: add typings for main APIs
1 parent 9f81b8e commit 049254b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

lib/index.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -99,11 +99,11 @@ export default class LNC {
9999
_onRemoteKeyReceive?: (keyHex: string) => void;
100100
salt: string;
101101
testCipher: string;
102-
// TODO: add typings
103-
lnd: any;
104-
loop: any;
105-
pool: any;
106-
faraday: any;
102+
103+
lnd: LndApi;
104+
loop: LoopApi;
105+
pool: PoolApi;
106+
faraday: FaradayApi;
107107

108108
constructor(config: LncConstructor) {
109109
this._serverHost =

0 commit comments

Comments
 (0)