Skip to content

Commit

Permalink
Merge pull request #1 from 0xProject/master
Browse files Browse the repository at this point in the history
Make right parameter optional in setLengthLeft
  • Loading branch information
ukstv authored Sep 26, 2017
2 parents 9ed84e6 + b9ae55d commit b89e8b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ declare module 'ethereumjs-util' {
export function setLength (msg: Buffer, length: number, right: boolean): Buffer
export function setLength (msg: number[], length: number, right: boolean): number[]

export function setLengthLeft (msg: Buffer, length: number, right: boolean): Buffer
export function setLengthLeft (msg: number[], length: number, right: boolean): number[]
export function setLengthLeft (msg: Buffer, length: number, right?: boolean): Buffer
export function setLengthLeft (msg: number[], length: number, right?: boolean): number[]

export function setLengthRight (msg: Buffer, length: number): Buffer
export function setLengthRight (msg: number[], length: number): number[]
Expand Down

0 comments on commit b89e8b2

Please sign in to comment.