diff --git a/.prettierignore b/.prettierignore index 3c3629e..0e796c3 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1 +1,3 @@ node_modules +dist +build \ No newline at end of file diff --git a/dist/index.d.ts b/dist/index.d.ts deleted file mode 100644 index e608b37..0000000 --- a/dist/index.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export { default as power } from "./sample"; -export { default as sqrt } from "./sample2"; diff --git a/dist/index.js b/dist/index.js deleted file mode 100644 index 1e35e9b..0000000 --- a/dist/index.js +++ /dev/null @@ -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; } }); diff --git a/dist/sample.d.ts b/dist/sample.d.ts deleted file mode 100644 index 963341c..0000000 --- a/dist/sample.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const power: (n?: number | undefined) => number | undefined; -export default power; diff --git a/dist/sample.js b/dist/sample.js deleted file mode 100644 index b42ee12..0000000 --- a/dist/sample.js +++ /dev/null @@ -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; diff --git a/dist/sample2.d.ts b/dist/sample2.d.ts deleted file mode 100644 index 89893ee..0000000 --- a/dist/sample2.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const sqrt: (n: number) => number | undefined; -export default sqrt; diff --git a/dist/sample2.js b/dist/sample2.js deleted file mode 100644 index 8e40986..0000000 --- a/dist/sample2.js +++ /dev/null @@ -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;