diff --git a/typescript/shims-tsx.ts b/typescript/shims-tsx.ts index 8c8da9431d..fcafdf807c 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 {