TypeScript/tests/cases/conformance/externalModules/topLevelFileModuleMissing.ts
2014-07-12 17:30:19 -07:00

8 lines
152 B
TypeScript

// @module: commonjs
// @Filename: vs/foo_0.ts
export var x: number;
// @Filename: foo_1.ts
import foo = require("vs/foo");
var z = foo.x + 10;