From e9978548d8cded485061fd4d191beee7d014cecb Mon Sep 17 00:00:00 2001 From: dpschen Date: Sat, 25 Sep 2021 18:33:30 +0000 Subject: [PATCH] feat: add types for vite (#790) Co-authored-by: Dominik Pschenitschni Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/790 Co-authored-by: dpschen Co-committed-by: dpschen --- src/types/vite.d.ts | 1 + tsconfig.json | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 src/types/vite.d.ts diff --git a/src/types/vite.d.ts b/src/types/vite.d.ts new file mode 100644 index 00000000..151aa685 --- /dev/null +++ b/src/types/vite.d.ts @@ -0,0 +1 @@ +/// \ No newline at end of file diff --git a/tsconfig.json b/tsconfig.json index dd937741..b2de102a 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -13,9 +13,10 @@ "resolveJsonModule": true, "sourceMap": true, "baseUrl": ".", + "isolatedModules": true, "types": [ - "webpack-env", - "jest" + "jest", + "vite/client" ], "paths": { "@/*": [