1
0

feat: improve ts setup

This commit is contained in:
Dominik Pschenitschni
2022-04-10 02:40:15 +02:00
committed by Gitea
parent 513a51fb73
commit c6aac15d24
14 changed files with 195 additions and 144 deletions

View File

@ -5,14 +5,6 @@ import router from './router'
import {error, success} from './message'
declare global {
interface Window {
API_URL: string;
SENTRY_ENABLED: boolean;
SENTRY_DSN: string;
}
}
import {formatDate, formatDateShort, formatDateLong, formatDateSince, formatISO} from '@/helpers/time/formatDate'
// @ts-ignore
import {VERSION} from './version.json'

View File

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

1
src/types/vite.d.ts vendored
View File

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

View File

@ -0,0 +1,7 @@
declare global {
interface Window {
API_URL: string;
SENTRY_ENABLED: boolean;
SENTRY_DSN: string;
}
}