chore: add Vite environment types

Added src/vite-env.d.ts containing the Vite environment type interfaces.
This commit is contained in:
jakob.scheid committed 2026-10-25 02:36:16 +02:00
1 parent 3c9fd3052f
commit b1dc260d47
1 file changed
+24
+24
View File
@@ -0,0 +1,24 @@
/*
Copyright 2026 Seekra
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
interface ImportMetaEnv {
readonly VITE_ASSETS_BUILD_ID: string;
readonly VITE_ASSETS_BASE_URL: string;
}
interface ImportMeta {
readonly env: ImportMetaEnv;
}