DefinitelyTyped/types/truffle-privatekey-provider/index.d.ts
Miguel Mota c287a3c2de [truffle-privatekey-provider] Add type definitions (#35359)
* [truffle-privatekey-provider] Add type definitions

* Add file to files list

* Remove tslint rules
2019-05-14 15:01:46 -07:00

19 lines
495 B
TypeScript

// Type definitions for truffle-privatekey-provider 1.1
// Project: https://github.com/nosuchip/truffle-privatekey-provider
// Definitions by: Miguel Mota <https://github.com/miguelmota>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/**
* Sign transactions using a private key.
*/
export = PrivateKeyProvider;
declare class PrivateKeyProvider {
constructor(privateKey: any, providerUrl: any);
send(...args: any[]): any;
sendAsync(...args: any[]): void;
}