-import { Component, MountedComponent } from './component'
+import { MountedComponent } from './component'
const bindCache = new WeakMap()
}
}
-export function createRenderProxy(instance: Component): MountedComponent {
+export function createRenderProxy(instance: any): MountedComponent {
return new Proxy(instance, renderProxyHandlers) as MountedComponent
}
// Optional APIs
// these are imported on-demand and can be tree-shaken
-export { applyDirective } from './optional/directive'
-export { Provide, Inject } from './optional/context'
+export * from './optional/directive'
+export * from './optional/context'
// flags & types
export { ComponentClass, FunctionalComponent } from './component'
unmounted: DirectiveHook
}
-type DirectiveModifiers = Record<string, boolean>
+export type DirectiveModifiers = Record<string, boolean>
export function applyDirective(
vnode: VNode,