I need something like this:
interface IMyInterface { Payload?: object; [key: string]: boolean | string | number | Date; }
But the cod