11 lines
303 B
TypeScript
11 lines
303 B
TypeScript
//// [exportedVariable1.ts]
|
|
export var foo = {name: "Bill"};
|
|
var upper = foo.name.toUpperCase();
|
|
|
|
|
|
//// [exportedVariable1.js]
|
|
define(["require", "exports"], function (require, exports) {
|
|
"use strict";
|
|
exports.foo = { name: "Bill" };
|
|
var upper = exports.foo.name.toUpperCase();
|
|
});
|