提交 5eb4666d 编写于 作者: 雪洛's avatar 雪洛

fix(uni-app-x web): 修复ssr部分情况下编译告警

上级 53119b63
因为 它太大了无法显示 source diff 。你可以改为 查看blob
......@@ -23,6 +23,7 @@ import type {
VNode,
VNodeProps
} from 'vue'
import type { Store } from 'vuex'
type Data = Record<string, unknown>;
......@@ -32,6 +33,7 @@ declare module 'vue' {
$data : Record<string, any | null>
$callMethod : (methodName : string, ...args : (any | null)[]) => any | null
$children : ComponentPublicInstance[]
$store: Store<any>
}
export type OnCleanup = (cleanupFn : () => void) => void;
export function definePlugin<T extends Plugin = Plugin>(plugin : T) : T
......
......@@ -23,6 +23,7 @@ import type {
VNode,
VNodeProps
} from 'vue'
import type { Store } from 'vuex'
type Data = Record<string, unknown>;
......@@ -32,6 +33,7 @@ declare module 'vue' {
$data : Record<string, any | null>
$callMethod : (methodName : string, ...args : (any | null)[]) => any | null
$children : ComponentPublicInstance[]
$store: Store<any>
}
export type OnCleanup = (cleanupFn : () => void) => void;
export function definePlugin<T extends Plugin = Plugin>(plugin : T) : T
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册