changed example

This commit is contained in:
Lauchmelder 2021-11-25 22:06:50 +01:00
parent 160ede91e6
commit bf0bd7cc16
3 changed files with 5 additions and 2 deletions

1
.gitignore vendored
View file

@ -1,6 +1,7 @@
.vscode/ .vscode/
.vs/ .vs/
node_modules/ node_modules/
[Oo]ut/
package-lock.json package-lock.json
*.js *.js

View file

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

View file

@ -1,6 +1,8 @@
{ {
"compilerOptions": { "compilerOptions": {
"target": "es5", "target": "es5",
"module": "commonjs" "module": "commonjs",
"outDir": "out",
"sourceMap": true
} }
} }