25 lines
600 B
TypeScript
25 lines
600 B
TypeScript
/// <reference types="@rsbuild/core/types" />
|
|
|
|
interface ImportMetaEnv {
|
|
readonly PUBLIC_ENV: string
|
|
readonly PUBLIC_MAXKB_URL: string
|
|
readonly PUBLIC_OJ_URL: string
|
|
readonly PUBLIC_CODE_URL: string
|
|
readonly PUBLIC_JUDGE0_URL: string
|
|
readonly PUBLIC_ICONIFY_URL: string
|
|
readonly PUBLIC_SIGNALING_URL: string
|
|
readonly PUBLIC_WS_URL: string
|
|
}
|
|
|
|
interface ImportMeta {
|
|
readonly env: ImportMetaEnv
|
|
}
|
|
|
|
interface Document {
|
|
startViewTransition?: (callback: () => void | Promise<void>) => {
|
|
ready: Promise<void>
|
|
finished: Promise<void>
|
|
updateCallbackDone: Promise<void>
|
|
}
|
|
}
|