© 2026 Hedgehog Software, LLC
CommandManager
UnionToIntersection
{ doStuff: (arg1: string) => T; command: (type: "bob") => void; } | { doStuff: (arg1: number, arg2: string) => T; }
{ doStuff: (arg1: string) => T; command: (type: "bob") => void; } & { // notice this simbole changing ? doStuff: (arg1: number, arg2: string) => T; }