-
Notifications
You must be signed in to change notification settings - Fork 763
Closed
Labels
Domain: EmitRelated to emit, AST printing, Program emit funcsRelated to emit, AST printing, Program emit funcs
Description
Steps to reproduce
Compile a ts file with a copyright comment:
/*---------------------------------------------------------------------------------------------
* Copyright
*--------------------------------------------------------------------------------------------*/
export const a = 1;Behavior with [email protected]
The generated helpers and module code is added after the comment:
"use strict";
/*---------------------------------------------------------------------------------------------
* Copyright
*--------------------------------------------------------------------------------------------*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.a = void 0;
exports.a = 1;Behavior with tsgo
The copyright comment after the added code:
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.a = void 0;
/*---------------------------------------------------------------------------------------------
* Copyright
*--------------------------------------------------------------------------------------------*/
exports.a = 1;Copilot
Metadata
Metadata
Assignees
Labels
Domain: EmitRelated to emit, AST printing, Program emit funcsRelated to emit, AST printing, Program emit funcs