Skip to content

Commit

Permalink
Hack around TS errors temporarily
Browse files Browse the repository at this point in the history
  • Loading branch information
shilman committed Oct 1, 2022
1 parent 1b54a4c commit 555307d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions code/renderers/vue/src/render.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable @typescript-eslint/ban-ts-comment */
/* eslint-disable no-underscore-dangle */
import { dedent } from 'ts-dedent';
import Vue from 'vue';
Expand Down Expand Up @@ -41,12 +42,15 @@ const getRoot = (domElement: Element): [Instance, Element] => {
[VALUES]: {},
};
},
// @ts-ignore
render(h) {
// @ts-ignore
map.set(domElement, instance);
return this[COMPONENT] ? [h(this[COMPONENT])] : undefined;
},
});

// @ts-ignore
return [instance, target];
};

Expand Down

0 comments on commit 555307d

Please sign in to comment.