Add JSDoc documentation and file headers to all source files
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
18
src/types/env.d.ts
vendored
18
src/types/env.d.ts
vendored
@@ -1,9 +1,23 @@
|
||||
// The Lucia project.
|
||||
// Copyright 2024-2026 DSP, inc. All rights reserved.
|
||||
// Authors:
|
||||
// cindy.chang@dsp.im (Cindy Chang), 2024/7/9
|
||||
/**
|
||||
* @module types/env.d
|
||||
* Type declarations for Vite environment variables.
|
||||
*/
|
||||
|
||||
/** Vite environment variable types. */
|
||||
interface ImportMetaEnv {
|
||||
/** The application title. */
|
||||
readonly VITE_APP_TITLE: string;
|
||||
/** The base URL for the application. */
|
||||
readonly BASE_URL: string;
|
||||
// 更多環境變量...
|
||||
// Add more environment variables as needed.
|
||||
}
|
||||
|
||||
|
||||
/** Augments ImportMeta with typed env. */
|
||||
interface ImportMeta {
|
||||
/** The typed environment variables. */
|
||||
readonly env: ImportMetaEnv;
|
||||
}
|
||||
Reference in New Issue
Block a user