The keyof operator produces a union type of all known, public property names of a given type. You can use it together with operator produces a union type of all
The keyof operator produces a union type of all known, public property names of a given type. You can use it together with operator produces a union type of all