Files
vue-driven-cloud-storage/backend/node_modules/bare-events/web.d.ts
237899745 4350113979 fix: 修复配额说明重复和undefined问题
- 在editStorageForm中初始化oss_storage_quota_value和oss_quota_unit
- 删除重复的旧配额说明块,保留新的当前配额设置显示

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-22 19:39:53 +08:00

80 lines
1.6 KiB
TypeScript

interface AbortSignal extends EventTarget {}
export interface EventOptions {
bubbles?: boolean
cancelable?: boolean
composed?: boolean
}
export interface Event {
readonly type: string
readonly target: EventTarget | null
readonly currentTarget: EventTarget | null
readonly bubbles: boolean
readonly cancelable: boolean
readonly composed: boolean
readonly defaultPrevented: boolean
readonly isTrusted: boolean
preventDefault(): void
stopPropagation(): void
stopImmediatePropagation(): void
}
export class Event {
constructor(type: string, options?: EventOptions)
}
export interface CustomEventOptions<T = any> extends EventOptions {
detail?: T
}
export interface CustomEvent<T = any> extends Event {
readonly detail: T
}
export class CustomEvent<T = any> {
constructor(type: string, options?: CustomEventOptions<T>)
}
export interface AddEventListenerOptions {
capture?: boolean
passive?: boolean
once?: boolean
signal?: AbortSignal | null
}
export interface RemoveEventListenerOptions {
capture?: boolean
}
export interface EventTarget {
addEventListener(
type: string,
callback: EventListener,
options?: AddEventListenerOptions | boolean
): void
removeEventListener(
type: string,
callback: EventListener,
options?: RemoveEventListenerOptions | boolean
): void
dispatchEvent(event: Event): boolean
}
export class EventTarget {
constructor()
}
export type EventListener = EventCallback | EventHandler
export interface EventCallback {
(event: Event): void
}
export interface EventHandler {
handleEvent(event: Event): void
}