vue3-liveplayer-wrapper
Version:
Vue 3 wrapper for @liveqing/liveplayer-v3 with recording and playback control features - Fully compatible with Vue 3.5+
27 lines (23 loc) • 537 B
TypeScript
/**
* Vue 3.5+ 兼容性类型声明
* 确保与所有 Vue 3.x 版本的兼容性
*/
declare module 'vue' {
// Vue 3.5+ 新特性支持
interface ComponentCustomProperties {
// 支持 defineModel 等新特性
}
// 支持新的 script 语法
interface ComponentOptions {
defineModel?: boolean
propsDestructure?: boolean
}
}
// 全局类型增强
declare global {
// 支持 Vue 3.5+ 的新语法特性
interface Window {
__VUE_DEVTOOLS_GLOBAL_HOOK__?: any
}
}
export {}