how to exclude certain proprty from a class typescript
type UserKeysWithoutEmail = Exclude<UserKeys, "email">;
// This is equivalent to:
type UserKeysWithoutEmail = Exclude<
"id" | "name" | "email",
"email"
>;
// This is equivalent to:
type UserKeysWithoutEmail = "id" | "name";