Skip to content
This repository has been archived by the owner on May 15, 2024. It is now read-only.

Commit

Permalink
fix(vue-next): update type errors for new vue-next alpha
Browse files Browse the repository at this point in the history
  • Loading branch information
basvanmeurs committed Apr 2, 2020
1 parent 83dcfd2 commit 70f929d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/runtime/patchProp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export function patchProp(
isSVG: boolean,
prevChildren?: VNode[],
parentComponent?: ComponentInternalInstance,
parentSuspense?: SuspenseBoundary<Node, Element>,
parentSuspense?: SuspenseBoundary,
unmountChildren?: any,
) {
patchElProp(el, key, nextValue, prevChildren, parentComponent, parentSuspense, unmountChildren);
Expand Down
2 changes: 1 addition & 1 deletion src/runtime/runtime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { patchProp } from "./patchProp";
import { Stage } from "tree2d/lib";
import Base from "./nodes/Base";

export type VugelRender = RootRenderFunction<Element, Base>;
export type VugelRender = RootRenderFunction;

export function createRendererForStage(stage: Stage): VugelRender {
const { render } = createRenderer({
Expand Down
5 changes: 3 additions & 2 deletions src/wrapper.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
import { createRendererForStage, VugelRender } from "./runtime/runtime";

import { effect, Ref, ref } from "@vue/reactivity";
import { defineComponent, Fragment, h, onMounted } from "@vue/runtime-core";
import {defineComponent, Fragment, h, onMounted} from "@vue/runtime-core";
import Node from "./runtime/nodes/Node";
import { Stage } from "tree2d/lib";
import { registerMouseEventDispatchers } from "./events";
import { registerTouchEventDispatchers } from "./events";

export const Vugel = defineComponent({

export const Vugel: any = defineComponent({
props: {
settings: {
type: Object,
Expand Down

0 comments on commit 70f929d

Please sign in to comment.