Commit b6a4737b authored by wildfirecode's avatar wildfirecode

m

parent 19b150fc
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var Foo_1 = require("./Foo");
var Bar = /** @class */ (function () {
function Bar() {
console.log('im bar');
}
Bar.prototype.createFoo = function () {
return new Foo_1.default();
};
return Bar;
}());
exports.default = Bar;
......@@ -2,8 +2,10 @@
Object.defineProperty(exports, "__esModule", { value: true });
var Foo = /** @class */ (function () {
function Foo() {
console.log('im foo');
}
Foo.prototype.log = function () {
console.log('im foo');
};
return Foo;
}());
exports.default = Foo;
"use strict";
// export default function (num:number) {
// return Math.round(num)
// }
Object.defineProperty(exports, "__esModule", { value: true });
var Foo_1 = require("./Foo");
exports.Foo = Foo_1.default;
var Bar_1 = require("./Bar");
exports.Bar = Bar_1.default;
......@@ -2,7 +2,7 @@
"name": "myround",
"version": "1.0.0",
"description": "",
"main": "index.js",
"main": "./bin/index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
......
{
"compilerOptions": {
"outDir": "bin",
"target": "es5", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'. */
"module": "commonjs" /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment