Move type declaration for hdkey to typescript-typings

This commit is contained in:
Jacob Evans
2018-04-11 14:53:58 +10:00
parent 3ad693d334
commit b08c616713
3 changed files with 20 additions and 13 deletions

View File

@@ -0,0 +1,11 @@
declare module 'hdkey' {
class HDNode {
public static fromMasterSeed(seed: Buffer): HDNode;
public publicKey: Buffer;
public privateKey: Buffer;
public chainCode: Buffer;
public constructor();
public derive(path: string): HDNode;
}
export = HDNode;
}