2014-09-12 22:35:07 +02:00
|
|
|
tests/cases/conformance/externalModules/importNonStringLiteral.ts(2,22): error TS1141: String literal expected.
|
|
|
|
|
|
|
|
|
2014-12-01 12:00:27 +01:00
|
|
|
==== tests/cases/conformance/externalModules/importNonStringLiteral.ts (1 errors) ====
|
2014-07-13 01:04:16 +02:00
|
|
|
var x = "filename";
|
|
|
|
import foo = require(x); // invalid
|
|
|
|
~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS1141: String literal expected.
|
2014-07-13 01:04:16 +02:00
|
|
|
|