From c1860ca13d1c7c5cfb2a6b950cea4afe34f3ffcc Mon Sep 17 00:00:00 2001 From: epioos <46408068+epioos@users.noreply.github.com> Date: Thu, 25 Nov 2021 21:22:00 +0100 Subject: [PATCH] test 123 --- .gitignore | 4 +++- index.js | 2 +- index.ts | 2 +- package.json | 8 ++++++-- 4 files changed, 11 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index dbe9c82..d133fc1 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ -.vscode/ \ No newline at end of file +.vscode/ +node_modules/ +package-lock.json \ No newline at end of file diff --git a/index.js b/index.js index e7e28ee..d03fc1f 100644 --- a/index.js +++ b/index.js @@ -1,4 +1,4 @@ function sum(a, b) { return a + b; } -console.log(sum(4, 5)); +console.log(sum(2, 3)); diff --git a/index.ts b/index.ts index d571227..e039e96 100644 --- a/index.ts +++ b/index.ts @@ -3,4 +3,4 @@ function sum(a: number, b: number) return a + b; } -console.log(sum(4, 5)); \ No newline at end of file +console.log(sum(2, 3)); \ No newline at end of file diff --git a/package.json b/package.json index 58e02d8..18533db 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "test", + "name": "lauchpioos", "version": "1.0.0", "description": "", "main": "index.js", @@ -7,5 +7,9 @@ "test": "echo \"Error: no test specified\" && exit 1" }, "author": "", - "license": "ISC" + "license": "ISC", + "devDependencies": { + "ts-node": "^10.4.0", + "typescript": "^4.5.2" + } }