Migrated a breaking change between Typescript 0.8 and 0.9: Syntax of external module imports now uses 'require'.

This commit is contained in:
Panu Pitkämäki
2013-08-07 15:49:36 +03:00
parent 43825c61af
commit bd6ddbdce2
2 changed files with 26 additions and 26 deletions

View File

@@ -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.");