TypeScript/tests/cases/compiler/isolatedModulesNoEmitOnError.ts
Max Heiber f9d12ed54b fix 31012 allow noEmitOnError with isolatedModules (#34) (#31043)
fix #31012

Since the purpose of isolatedModules: true is to
do extra validation to ensure that separate
compilation is safe

Allowing emit in the presence of errors is
compatible with that intention.

Signed-off-by: Max Heiber <max.heiber@gmail.com>
2019-04-25 15:31:03 -07:00

6 lines
121 B
TypeScript

// @isolatedModules: true
// @noEmitOnError:true
// @target: es6
// @filename: file1.ts
export const x: string = 3;