chore: fix type

This commit is contained in:
Evan You 2019-09-03 18:24:32 -04:00
parent 98d1406214
commit acda3cf2d9

View File

@ -107,7 +107,7 @@ interface SetupContext {
emit: ((event: string, ...args: unknown[]) => void)
}
export type ComponentInstance<P = {}, S = {}> = {
export type ComponentInstance<P = Data, S = Data> = {
type: FunctionalComponent | ComponentOptions
parent: ComponentInstance | null
appContext: AppContext