20 lines
236 B
TypeScript
20 lines
236 B
TypeScript
//// [tests/cases/compiler/jsFileCompilationWithOut.ts] ////
|
|
|
|
//// [a.ts]
|
|
class c {
|
|
}
|
|
|
|
//// [b.js]
|
|
function foo() {
|
|
}
|
|
|
|
|
|
//// [out.js]
|
|
var c = (function () {
|
|
function c() {
|
|
}
|
|
return c;
|
|
}());
|
|
function foo() {
|
|
}
|