diff --git a/libs/horizon/src/renderer/components/BaseClassComponent.ts b/libs/horizon/src/renderer/components/BaseClassComponent.ts index ec141650..a5559bbd 100644 --- a/libs/horizon/src/renderer/components/BaseClassComponent.ts +++ b/libs/horizon/src/renderer/components/BaseClassComponent.ts @@ -4,11 +4,18 @@ class Component
{ props: P; context: C; - state: S; + state: S | null; + refs: any; + setState: any; + forceUpdate: any; constructor(props: P, context: C) { this.props = props; this.context = context; + this.state = null; + this.refs = null; + this.setState = null; + this.forceUpdate = null; } }