17 lines
289 B
JavaScript
17 lines
289 B
JavaScript
//// [funduleOfFunctionWithoutReturnTypeAnnotation.ts]
|
|
function fn() {
|
|
return fn.n;
|
|
}
|
|
module fn {
|
|
export var n = 1;
|
|
}
|
|
|
|
|
|
//// [funduleOfFunctionWithoutReturnTypeAnnotation.js]
|
|
function fn() {
|
|
return fn.n;
|
|
}
|
|
var fn;
|
|
(function (fn) {
|
|
fn.n = 1;
|
|
})(fn || (fn = {}));
|