Remove the ES6 module hack

This commit is contained in:
mudkip
2016-09-25 22:43:40 +08:00
parent 9e563f4612
commit df45fdf0af
3 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
/// <reference path="bit-array.d.ts" />
import * as BitArray from "bit-array";
import BitArray = require("bit-array");
const a = new BitArray(32);
a.set(0, true);
+1
View File
@@ -0,0 +1 @@
--noImplicitAny --module commonjs
-1
View File
@@ -101,6 +101,5 @@ declare module "bit-array" {
xor(x: BitArray): BitArray;
}
namespace BitArray {}
export = BitArray;
}