mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
* [truffle-privatekey-provider] Add type definitions * Add file to files list * Remove tslint rules
19 lines
495 B
TypeScript
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;
|
|
}
|