Files
suwayomi-material-you-webui/src/vite-env.d.ts

26 lines
677 B
TypeScript
Raw Normal View History

/*
* Copyright (C) Contributors to the Suwayomi project
*
* This Source Code Form is subject to the terms of the Mozilla Public
2021-01-26 23:32:12 +03:30
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/
2021-01-26 23:32:12 +03:30
/// <reference types="vite/client" />
2025-08-02 23:13:50 +02:00
interface ViteTypeOptions {
// By adding this line, you can make the type of ImportMetaEnv strict
// to disallow unknown keys.
strictImportMetaEnv: unknown;
}
interface ImportMetaEnv {
readonly VITE_SERVER_URL_DEFAULT: string;
readonly VITE_SUBPATH?: string;
2025-08-02 23:13:50 +02:00
// more env variables...
}
interface ImportMeta {
readonly env: ImportMetaEnv;
}