Skip to content

Commit

Permalink
Add asIntN/asUintN to jsbi.d.ts (#33)
Browse files Browse the repository at this point in the history
Fixes #32 .
  • Loading branch information
jakobkummerow authored and mathiasbynens committed Sep 12, 2019
1 parent eb33a39 commit b682972
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions jsbi.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ export default class JSBI {
static bitwiseAnd(x: JSBI, y: JSBI): JSBI;
static bitwiseXor(x: JSBI, y: JSBI): JSBI;
static bitwiseOr(x: JSBI, y: JSBI): JSBI;

static asIntN(n: number, x: JSBI): JSBI;
static asUintN(n: number, x: JSBI): JSBI;

static ADD(x: any, y: any): any;
static LT(x: any, y: any): boolean;
Expand Down

0 comments on commit b682972

Please sign in to comment.