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