From ad21350999ecfb3284e5d441b6f8cf5013b361d1 Mon Sep 17 00:00:00 2001 From: KLuuKer Date: Mon, 7 Sep 2015 14:02:33 +0200 Subject: [PATCH 1/2] Update big.js.d.ts otherwise typescript will make a script that will try to access a variable that doesn't exist https://github.com/Microsoft/TypeScript/wiki/What's-new-in-TypeScript#const-enum-completely-inlined-enums --- big.js/big.js.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/big.js/big.js.d.ts b/big.js/big.js.d.ts index 0e4ac48be..d4ca239e3 100644 --- a/big.js/big.js.d.ts +++ b/big.js/big.js.d.ts @@ -6,7 +6,7 @@ declare module BigJsLibrary { - export enum RoundingMode { + export const enum RoundingMode { RoundTowardsZero = 0, RoundTowardsNearestAwayFromZero = 1, RoundTowardsNearestTowardsEven = 2, @@ -200,4 +200,4 @@ declare module BigJsLibrary { } } -declare var Big: BigJsLibrary.BigJS; \ No newline at end of file +declare var Big: BigJsLibrary.BigJS; From ab5cb7da7a87cbc3c19d658a3f1b3f7eb142d4bf Mon Sep 17 00:00:00 2001 From: KLuuKer Date: Mon, 7 Sep 2015 14:04:48 +0200 Subject: [PATCH 2/2] Update big.js.d.ts