Test case when --out is specified for compiling module but --module isnt specified

This commit is contained in:
Sheetal Nandi 2016-04-20 11:28:04 -07:00
parent 11cd54a7e1
commit 1814569cc5
2 changed files with 10 additions and 0 deletions

View file

@ -0,0 +1,7 @@
error TS6082: Only 'amd' and 'system' modules are supported alongside --out.
!!! error TS6082: Only 'amd' and 'system' modules are supported alongside --out.
==== tests/cases/compiler/optionsOutAndNoModuleGen.ts (0 errors) ====
export var x = 10;

View file

@ -0,0 +1,3 @@
// @out: output.js
export var x = 10;