9 lines
No EOL
347 B
Text
9 lines
No EOL
347 B
Text
tests/cases/conformance/externalModules/importNonStringLiteral.ts(2,22): error TS1141: String literal expected.
|
|
|
|
|
|
==== tests/cases/conformance/externalModules/importNonStringLiteral.ts (1 errors) ====
|
|
var x = "filename";
|
|
import foo = require(x); // invalid
|
|
~
|
|
!!! error TS1141: String literal expected.
|
|
|