Skip to content

Instantly share code, notes, and snippets.

View muhammaddadu's full-sized avatar
✍️
Building something probably

Muhammad Dadu muhammaddadu

✍️
Building something probably
View GitHub Profile
@cybrown
cybrown / bignumber.js.d.ts
Created January 9, 2016 15:18
Starting web3 TypeScript type definition
declare module "bignumber.js" {
class BigNumber {
constructor(value: number|string); // Acccepts a number OR a string
toNumber(): number;
// Those static attributes could have been in the module, a few lines beneath
static ROUND_DOWN: any;
static config(arg: any): void;
}