You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
922 B
33 lines
922 B
/// <reference types="vite/client" />
|
|
|
|
interface ImportMetaEnv {
|
|
readonly VITE_API_BASE?: string
|
|
/** 管理端 API 基址;默认与 `VITE_API_BASE` / 站内 `/api` 同源,仅前缀不同 */
|
|
readonly VITE_ADMIN_API_BASE?: string
|
|
}
|
|
|
|
interface ImportMeta {
|
|
readonly env: ImportMetaEnv
|
|
}
|
|
|
|
declare module '@wangeditor/editor-for-vue' {
|
|
import type { DefineComponent } from 'vue'
|
|
export const Editor: DefineComponent<object, object, unknown>
|
|
export const Toolbar: DefineComponent<object, object, unknown>
|
|
}
|
|
|
|
declare module 'bootstrap' {
|
|
export class Modal {
|
|
static getInstance(element: HTMLElement): Modal | null
|
|
static getOrCreateInstance(element: HTMLElement): Modal
|
|
show(): void
|
|
hide(): void
|
|
}
|
|
export class Dropdown {
|
|
static getInstance(element: HTMLElement): Dropdown | null
|
|
static getOrCreateInstance(element: HTMLElement): Dropdown
|
|
toggle(): void
|
|
hide(): void
|
|
}
|
|
}
|