mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
16 lines
347 B
TypeScript
16 lines
347 B
TypeScript
//// [tests/cases/conformance/externalModules/topLevelFileModuleMissing.ts] ////
|
|
|
|
//// [foo_0.ts]
|
|
export var x: number;
|
|
|
|
//// [foo_1.ts]
|
|
import foo = require("vs/foo");
|
|
var z = foo.x + 10;
|
|
|
|
|
|
//// [foo_1.js]
|
|
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
const foo = require("vs/foo");
|
|
var z = foo.x + 10;
|