From 555307d66f4d06aff12fb41545db8f7d40275688 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Sat, 1 Oct 2022 18:58:16 +0800 Subject: [PATCH] Hack around TS errors temporarily --- code/renderers/vue/src/render.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/renderers/vue/src/render.ts b/code/renderers/vue/src/render.ts index 88935a463203..b86fa04a8aed 100644 --- a/code/renderers/vue/src/render.ts +++ b/code/renderers/vue/src/render.ts @@ -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'; @@ -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]; };