From 5a54959adcb78605a13240dbd66a4a04385bf22e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Camilo=20Gonz=C3=A1lez?= Date: Sun, 11 Aug 2024 12:10:24 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A5=20Faltaban=20archivos=20de=20TS?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/ambiente.d.ts | 1 + tsconfig.json | 23 +++++++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 src/ambiente.d.ts create mode 100644 tsconfig.json diff --git a/src/ambiente.d.ts b/src/ambiente.d.ts new file mode 100644 index 0000000..11f02fe --- /dev/null +++ b/src/ambiente.d.ts @@ -0,0 +1 @@ +/// diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 0000000..0511b9f --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,23 @@ +{ + "compilerOptions": { + "target": "ES2020", + "useDefineForClassFields": true, + "module": "ESNext", + "lib": ["ES2020", "DOM", "DOM.Iterable"], + "skipLibCheck": true, + + /* Bundler mode */ + "moduleResolution": "bundler", + "allowImportingTsExtensions": true, + "isolatedModules": true, + "moduleDetection": "force", + "noEmit": true, + + /* Linting */ + "strict": true, + "noUnusedLocals": true, + "noUnusedParameters": true, + "noFallthroughCasesInSwitch": true + }, + "include": ["src"] +}