Hello, I'm having an issue which makes my brain hurt... I want that the type of "connection" is either "ITable" or "null" but for some reason it always throws me this error.
Code: https://img.walkaisa.dev/Kik9XWMSdC
Error at "this.connection" (Line: 7): Type 'null' is not assignable to type 'If<Ready, IConnection, null>'.
Error at "this.connection" (Line: 15): Type '{ id: string; timestamp: number; }' is not assignable to type 'If<Ready, IConnection, null>'.