Last active
October 30, 2015 20:26
-
-
Save diverted247/c0016ee6338dcdf20a2a to your computer and use it in GitHub Desktop.
ts.ModuleKind.*
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import {f} from "foo" | |
export var x = f() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
define("myModule2", ["require", "exports", "foo"], function (require, exports, foo_1) { | |
exports.x = foo_1.f(); | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var foo_1 = require("foo"); | |
exports.x = foo_1.f(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
System.register("myModule2", ["foo"], function(exports_1) { | |
var foo_1; | |
var x; | |
return { | |
setters:[ | |
function (foo_1_1) { | |
foo_1 = foo_1_1; | |
}], | |
execute: function() { | |
exports_1("x", x = foo_1.f()); | |
} | |
} | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function (deps, factory) { | |
if (typeof module === \'object\' && typeof module.exports === \'object\') { | |
var v = factory(require, exports); if (v !== undefined) module.exports = v; | |
} | |
else if (typeof define === \'function\' && define.amd) { | |
define(deps, factory); | |
} | |
})(["require", "exports", "foo"], function (require, exports) { | |
var foo_1 = require("foo"); | |
exports.x = foo_1.f(); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment