From fb1b2220c7e31cb0e9dde3e758b4662a17b9eb69 Mon Sep 17 00:00:00 2001 From: iapyang Date: Wed, 7 Jul 2021 10:48:18 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20jsx=E7=94=9F=E5=91=BD=E5=91=A8?= =?UTF-8?q?=E6=9C=9F=E5=87=BD=E6=95=B0=E8=A1=A5=E5=85=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- typescript/shims-tsx.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/typescript/shims-tsx.ts b/typescript/shims-tsx.ts index 8c8da9431..fcafdf807 100644 --- a/typescript/shims-tsx.ts +++ b/typescript/shims-tsx.ts @@ -49,6 +49,16 @@ interface ElementClassProps extends UIProps { beforeRender(callback: () => void): void; beforeInit(callback: () => void): void; render(): any; + beforeCreate(): void; + created(): void; + beforeMount(): void; + mounted(): void; + shouldUpdate(): void; + update(): void; + beforeUpdate(): void; + updated(): void; + beforeDestroy(): void; + destroyed(): void; } declare namespace JSX {