14 lines
189 B
JavaScript
14 lines
189 B
JavaScript
|
declare module "tweetnacl" {
|
||
|
declare type KeyPair = {
|
||
|
publicKey: Buffer;
|
||
|
secretKey: Buffer;
|
||
|
};
|
||
|
|
||
|
declare module.exports: {
|
||
|
sign: {
|
||
|
keyPair(): KeyPair;
|
||
|
};
|
||
|
};
|
||
|
}
|
||
|
|