fix(power-assert): use CommonJS style default export statement

This commit is contained in:
teppeis committed 2016-02-17 12:44:50 +09:00
1 parent 472070cff0
commit 0c0597f60f
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
/// <reference path="./power-assert.d.ts" />
import assert from "power-assert";
import assert = require("power-assert");
assert(1 + 1 - 2 === 0, "The universe isn't how it should.");
+1 -1
View File
@@ -66,5 +66,5 @@ declare namespace assert {
}
declare module "power-assert" {
export default assert;
export = assert;
}