mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
36 lines
558 B
TypeScript
36 lines
558 B
TypeScript
//// [tests/cases/compiler/commentOnAmbientModule.ts] ////
|
|
|
|
//// [a.ts]
|
|
/*!=========
|
|
Keep this pinned comment
|
|
=========
|
|
*/
|
|
|
|
/*! Don't keep this pinned comment */
|
|
declare namespace C {
|
|
function foo();
|
|
}
|
|
|
|
// Don't keep this comment.
|
|
declare namespace D {
|
|
class bar { }
|
|
}
|
|
|
|
//// [b.ts]
|
|
///<reference path="a.ts"/>
|
|
declare namespace E {
|
|
class foobar extends D.bar {
|
|
foo();
|
|
}
|
|
}
|
|
|
|
//// [a.js]
|
|
"use strict";
|
|
/*!=========
|
|
Keep this pinned comment
|
|
=========
|
|
*/
|
|
//// [b.js]
|
|
"use strict";
|
|
///<reference path="a.ts"/>
|