Move ECSignature type from types package into eth-light-wallet type dec since only used there

This commit is contained in:
Fabio Berger
2018-07-22 15:52:52 +02:00
parent 06f61949f9
commit f0f13aa1dd
3 changed files with 14 additions and 8 deletions

View File

@@ -1,7 +1,11 @@
// eth-lightwallet declarations
declare module 'eth-lightwallet' {
import { ECSignatureBuffer } from '@0xproject/types';
interface ECSignatureBuffer {
v: number;
r: Buffer;
s: Buffer;
}
declare module 'eth-lightwallet' {
// tslint:disable-next-line:class-name
export class signing {
public static signTx(