mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
10 lines
245 B
Plaintext
10 lines
245 B
Plaintext
//// [tests/cases/conformance/externalModules/importNonStringLiteral.ts] ////
|
|
|
|
=== vs/foo_0.ts ===
|
|
var x = "filename";
|
|
>x : Symbol(x, Decl(foo_0.ts, 0, 3))
|
|
|
|
import foo = require(x); // invalid
|
|
>foo : Symbol(foo, Decl(foo_0.ts, 0, 19))
|
|
|