types(runtime-core): adjust Renderer's type declaration (#1566)

This commit is contained in:
Pick
2020-07-14 00:44:37 +08:00
committed by GitHub
parent 836b273f5f
commit 09f61b4049
2 changed files with 3 additions and 3 deletions

View File

@@ -66,7 +66,7 @@ import { invokeDirectiveHook } from './directives'
import { startMeasure, endMeasure } from './profiling'
import { ComponentPublicInstance } from './componentProxy'
export interface Renderer<HostElement = any> {
export interface Renderer<HostElement = RendererElement> {
render: RootRenderFunction<HostElement>
createApp: CreateAppFunction<HostElement>
}