From bf0bd7cc169f74e9a86374c06a0034e9ed5e88e9 Mon Sep 17 00:00:00 2001 From: Lauchmelder Date: Thu, 25 Nov 2021 22:06:50 +0100 Subject: [PATCH] changed example --- .gitignore | 1 + index.ts | 2 +- tsconfig.json | 4 +++- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index fe83027..3ef82cb 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,7 @@ .vscode/ .vs/ node_modules/ +[Oo]ut/ package-lock.json *.js \ No newline at end of file diff --git a/index.ts b/index.ts index e039e96..11f19ff 100644 --- a/index.ts +++ b/index.ts @@ -3,4 +3,4 @@ function sum(a: number, b: number) return a + b; } -console.log(sum(2, 3)); \ No newline at end of file +console.log(sum(420, 69)); \ No newline at end of file diff --git a/tsconfig.json b/tsconfig.json index c14023d..9ed7eec 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,6 +1,8 @@ { "compilerOptions": { "target": "es5", - "module": "commonjs" + "module": "commonjs", + "outDir": "out", + "sourceMap": true } } \ No newline at end of file