TypeScript/tests/baselines/reference/exportVisibility.js
2017-02-10 12:48:14 -08:00

26 lines
396 B
TypeScript

//// [exportVisibility.ts]
export class Foo {
}
export var foo = new Foo();
export function test(foo: Foo) {
return true;
}
//// [exportVisibility.js]
"use strict";
exports.__esModule = true;
var Foo = (function () {
function Foo() {
}
return Foo;
}());
exports.Foo = Foo;
exports.foo = new Foo();
function test(foo) {
return true;
}
exports.test = test;