initial commit

This commit is contained in:
Lauchmelder 2021-11-25 20:56:15 +01:00
commit d7513092df
5 changed files with 28 additions and 0 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
.vscode/

4
index.js Normal file
View file

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

6
index.ts Normal file
View file

@ -0,0 +1,6 @@
function sum(a: number, b: number)
{
return a + b;
}
console.log(sum(4, 5));

11
package.json Normal file
View file

@ -0,0 +1,11 @@
{
"name": "test",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC"
}

6
tsconfig.json Normal file
View file

@ -0,0 +1,6 @@
{
"compilerOptions": {
"target": "es5",
"module": "commonjs"
}
}