From 14c3ecfd66fbe830de73d21c3bfa680b82c5f09c Mon Sep 17 00:00:00 2001 From: Kira Date: Wed, 19 May 2021 12:11:11 +0800 Subject: [PATCH] =?UTF-8?q?KERNEL-7826=20refactor:=20=E9=80=9A=E7=94=A8?= =?UTF-8?q?=E5=B1=9E=E6=80=A7=E5=AE=9A=E4=B9=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- typescript/shims-tsx.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/typescript/shims-tsx.ts b/typescript/shims-tsx.ts index 7763bf313..dc9d4da65 100644 --- a/typescript/shims-tsx.ts +++ b/typescript/shims-tsx.ts @@ -29,6 +29,11 @@ interface ElementClassProps extends UIProps { [key: string]: any } tagName: string; + element: any; + + beforeRender(callback: () => void): void; + beforeInit(callback: () => void): void; + render(): void; } declare namespace JSX {