This commit is contained in:
epioos 2021-11-25 21:22:00 +01:00
parent d7513092df
commit c1860ca13d
4 changed files with 11 additions and 5 deletions

4
.gitignore vendored
View file

@ -1 +1,3 @@
.vscode/
.vscode/
node_modules/
package-lock.json

View file

@ -1,4 +1,4 @@
function sum(a, b) {
return a + b;
}
console.log(sum(4, 5));
console.log(sum(2, 3));

View file

@ -3,4 +3,4 @@ function sum(a: number, b: number)
return a + b;
}
console.log(sum(4, 5));
console.log(sum(2, 3));

View file

@ -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"
}
}