mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-22 11:22:53 +08:00
Migrated a breaking change between Typescript 0.8 and 0.9: Syntax of external module imports now uses 'require'.
This commit is contained in:
1 parent
43825c61af
commit
bd6ddbdce2
2 files changed
+26
-26
No files matched your search
+3
-3
@@ -1,8 +1,8 @@
|
||||
/// <reference path="node.d.ts" />
|
||||
|
||||
import assert = module("assert");
|
||||
import fs = module("fs");
|
||||
import events = module("events");
|
||||
import assert = require("assert");
|
||||
import fs = require("fs");
|
||||
import events = require("events");
|
||||
|
||||
assert(1 + 1 - 2 === 0, "The universe isn't how it should.");
|
||||
|
||||
|
||||
Reference in new issue
Block a user