mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
59 lines
725 B
TypeScript
59 lines
725 B
TypeScript
//// [tests/cases/compiler/declarationEmitDetachedComment2.ts] ////
|
|
|
|
//// [test1.ts]
|
|
/*! Copyright 2015 MyCompany Inc. */
|
|
|
|
/**
|
|
* Hello class
|
|
*/
|
|
class Hello {
|
|
|
|
}
|
|
|
|
//// [test2.ts]
|
|
/* A comment at the top of the file. */
|
|
|
|
/**
|
|
* Hi class
|
|
*/
|
|
class Hi {
|
|
|
|
}
|
|
|
|
//// [test3.ts]
|
|
// A one-line comment at the top of the file.
|
|
|
|
/**
|
|
* Hola class
|
|
*/
|
|
class Hola {
|
|
|
|
}
|
|
|
|
|
|
//// [test1.js]
|
|
"use strict";
|
|
/*! Copyright 2015 MyCompany Inc. */
|
|
class Hello {
|
|
}
|
|
//// [test2.js]
|
|
"use strict";
|
|
class Hi {
|
|
}
|
|
//// [test3.js]
|
|
"use strict";
|
|
class Hola {
|
|
}
|
|
|
|
|
|
//// [test1.d.ts]
|
|
/*! Copyright 2015 MyCompany Inc. */
|
|
declare class Hello {
|
|
}
|
|
//// [test2.d.ts]
|
|
declare class Hi {
|
|
}
|
|
//// [test3.d.ts]
|
|
declare class Hola {
|
|
}
|