TypeScript/tests/cases/conformance/externalModules/esnext/esnextmodulekindWithES5Target10.ts
Wesley Wigham eb80799ef0 Care about esnext where we look for es2015 (#18331)
* Care about esnext where we look for es2015

* Update diagnostic message to be more agnostic
2017-09-09 16:30:06 -07:00

9 lines
No EOL
119 B
TypeScript

// @target: es5
// @module: esnext
import i = require("mod"); // Error;
namespace N {
}
export = N; // Error