mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
12 lines
275 B
TypeScript
12 lines
275 B
TypeScript
//// [tests/cases/conformance/externalModules/importNonStringLiteral.ts] ////
|
|
|
|
//// [foo_0.ts]
|
|
var x = "filename";
|
|
import foo = require(x); // invalid
|
|
|
|
|
|
//// [foo_0.js]
|
|
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
var x = "filename";
|