7 lines
149 B
TypeScript
7 lines
149 B
TypeScript
//// [importNonStringLiteral.ts]
|
|
var x = "filename";
|
|
import foo = require(x); // invalid
|
|
|
|
|
|
//// [importNonStringLiteral.js]
|
|
var x = "filename";
|