updated the git cached and configs

This commit is contained in:
Sambo Chea 2020-10-15 11:13:48 +07:00
parent bfb4dc391e
commit c1fee4f028
7 changed files with 2 additions and 40 deletions

View File

@ -1 +1,3 @@
node_modules node_modules
dist
build

2
dist/index.d.ts vendored
View File

@ -1,2 +0,0 @@
export { default as power } from "./sample";
export { default as sqrt } from "./sample2";

10
dist/index.js vendored
View File

@ -1,10 +0,0 @@
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.sqrt = exports.power = void 0;
var sample_1 = require("./sample");
Object.defineProperty(exports, "power", { enumerable: true, get: function () { return __importDefault(sample_1).default; } });
var sample2_1 = require("./sample2");
Object.defineProperty(exports, "sqrt", { enumerable: true, get: function () { return __importDefault(sample2_1).default; } });

2
dist/sample.d.ts vendored
View File

@ -1,2 +0,0 @@
declare const power: (n?: number | undefined) => number | undefined;
export default power;

12
dist/sample.js vendored
View File

@ -1,12 +0,0 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var power = function (n) {
if (typeof n === "undefined" || n === null) {
return undefined;
}
if (typeof n !== "number") {
return undefined;
}
return Math.pow(n, 2);
};
exports.default = power;

2
dist/sample2.d.ts vendored
View File

@ -1,2 +0,0 @@
declare const sqrt: (n: number) => number | undefined;
export default sqrt;

12
dist/sample2.js vendored
View File

@ -1,12 +0,0 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var sqrt = function (n) {
if (typeof n === "undefined" || n === null) {
return undefined;
}
if (typeof n !== "number") {
return undefined;
}
return Math.sqrt(n);
};
exports.default = sqrt;