15 lines
307 B
TypeScript
15 lines
307 B
TypeScript
//// [namedFunctionExpressionInModule.ts]
|
|
module Variables{
|
|
var x = function bar(a, b, c) {
|
|
}
|
|
x(1, 2, 3);
|
|
}
|
|
|
|
|
|
//// [namedFunctionExpressionInModule.js]
|
|
var Variables;
|
|
(function (Variables) {
|
|
var x = function bar(a, b, c) {
|
|
};
|
|
x(1, 2, 3);
|
|
})(Variables || (Variables = {}));
|