From fe9ba5908ac793cd74fc472692c192b9a05114ee Mon Sep 17 00:00:00 2001 From: Kira Date: Wed, 19 May 2021 12:00:52 +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 | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/typescript/shims-tsx.ts b/typescript/shims-tsx.ts index a8ad8e6ac..7763bf313 100644 --- a/typescript/shims-tsx.ts +++ b/typescript/shims-tsx.ts @@ -14,9 +14,21 @@ interface UIProps { } interface ElementClassProps extends UIProps { - baseCls: string; cls: string; + extraCls: string; ref: (ref: T) => void; + listeners: { + eventName: string; + action: (...args: any[]) => any; + once?: boolean; + }[]; + disabled: boolean; + invisible: boolean; + invalid: boolean; + attributes: { + [key: string]: any + } + tagName: string; } declare namespace JSX {