chore(deps-dev): bump flow-bin from 0.98.1 to 0.99.1

This commit is contained in:
Michael Vines
2019-05-31 07:42:41 -07:00
parent 8045520261
commit 45a42374f2
4 changed files with 34 additions and 42 deletions

View File

@ -1,5 +1,13 @@
declare module 'superstruct' {
declare type StructFunc = {
(any): any,
union(schema: any): any;
list(schema: any): any;
literal(schema: any): any;
};
declare module.exports: {
struct(schema: any): any;
struct: StructFunc;
}
}

View File

@ -4,9 +4,15 @@ declare module "tweetnacl" {
secretKey: Buffer;
};
declare type KeypairFunc = {
(): KeyPair,
fromSecretKey(secretKey: Buffer): KeyPair,
fromSeed(seed: Uint8Array): KeyPair,
};
declare module.exports: {
sign: {
keyPair(): KeyPair;
keyPair: KeypairFunc;
detached(text: Buffer, secretKey: Buffer): Buffer;
};
};