feat: add types for vite (#790)

Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/790
Co-authored-by: dpschen <dpschen@noreply.kolaente.de>
Co-committed-by: dpschen <dpschen@noreply.kolaente.de>
This commit is contained in:
dpschen 2021-09-25 18:33:30 +00:00 committed by konrad
parent c551bf5836
commit e9978548d8
2 changed files with 4 additions and 2 deletions

1
src/types/vite.d.ts vendored Normal file
View file

@ -0,0 +1 @@
/// <reference types="vite/client" />

View file

@ -13,9 +13,10 @@
"resolveJsonModule": true, "resolveJsonModule": true,
"sourceMap": true, "sourceMap": true,
"baseUrl": ".", "baseUrl": ".",
"isolatedModules": true,
"types": [ "types": [
"webpack-env", "jest",
"jest" "vite/client"
], ],
"paths": { "paths": {
"@/*": [ "@/*": [