TypeScript/tests/cases/compiler/commentsOnRequireStatement.ts
Yui fef3e97c34 [Transforms] Fix emit comment in wrong position when transforms export declaration to require statement (#8321)
* Fix emit comment in wrong location when transform export declaration to require statement

* Add tests and baselines

* Add tests and baselines

* Update baselines
2016-04-26 20:09:26 -07:00

18 lines
261 B
TypeScript

// @target: es5
// @module: commonjs
// @Filename: 0.ts
export var subject = 10;
// @Filename: 1.ts
export var subject1 = 10;
// @Filename: 2.ts
/* blah0 */
// blah
// blah
// blah
export {subject} from './0';
/* blah1 */
export {subject1} from './1';