8 lines
264 B
Plaintext
8 lines
264 B
Plaintext
==== tests/cases/conformance/externalModules/importNonStringLiteral.ts (2 errors) ====
|
|
var x = "filename";
|
|
import foo = require(x); // invalid
|
|
~
|
|
!!! String literal expected.
|
|
~
|
|
!!! ';' expected.
|
|
|