We can create our own utility types by some advanced mapped type usages.
Basics
Let's see the basic example.
type Person = {
name: string;
gender: string;
age: number;
married: boolean;
}
We can create our own utility types by some advanced mapped type usages.
Let's see the basic example.
type Person = {
name: string;
gender: string;
age: number;
married: boolean;
}