Commit 4dd5565c authored by wildfirecode's avatar wildfirecode

update

parents
export default class Baz {
constructor();
}
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var Baz = /** @class */ (function () {
function Baz() {
console.log('I am Baz.');
}
return Baz;
}());
exports.default = Baz;
declare const bar: () => void;
export default bar;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var bar = function () {
console.log('I am bar.');
};
exports.default = bar;
declare const foo: () => void;
export default foo;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var foo = function () {
console.log('I am foo.');
};
exports.default = foo;
import foo from "./foo";
import bar from "./bar";
import Baz from "./Baz";
export { foo, bar, Baz };
"use strict";
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;
var Baz_1 = require("./Baz");
exports.Baz = Baz_1.default;
{
"name": "libray-demo-ts",
"version": "1.0.0",
"description": "",
"main": "./bin/index.js",
"types": "./bin/index.d.ts",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git@gitlab2.dui88.com:wanghongyuan/libray-demo-ts.git"
},
"keywords": [],
"author": "",
"license": "ISC"
}
\ No newline at end of file
export default class Baz {
constructor() {
console.log('I am Baz.')
}
}
\ No newline at end of file
const bar = ()=>{
console.log('I am bar.')
}
export default bar;
\ No newline at end of file
const foo = ()=>{
console.log('I am foo.')
}
export default foo;
\ No newline at end of file
import foo from "./foo";
import bar from "./bar";
import Baz from "./Baz";
export {
foo, bar, Baz
}
\ No newline at end of file
{
"compilerOptions": {
"outDir": "bin",
"target": "es5",
"module": "commonjs",
"declaration": true,
"declarationDir": "bin"
}
}
\ 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