TypeScript/tests/cases/compiler/outModuleConcatCommonjsDeclarationOnly.ts
Matt McCutchen 32e75e7ae7 Don't complain about modules and outFile options when
`emitDeclarationOnly` is set.

Fixes #27117.
2018-09-28 21:07:48 -04:00

13 lines
247 B
TypeScript

// @target: ES5
// @sourcemap: true
// @declaration: true
// @emitDeclarationOnly: true
// @module: commonjs
// @outFile: all.js
// @Filename: ref/a.ts
export class A { }
// @Filename: b.ts
import {A} from "./ref/a";
export class B extends A { }