diff --git a/typescript/shims-tsx.ts b/typescript/shims-tsx.ts index a8ad8e6ac6..7763bf313d 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 {