You can obtain the type of a property of an object in in typescript as follows:
interface Person {
name: string;
realEstate: {
street: string;
value: number;
}[]
}
let mrName: Person['name']
Is there any way to obtain the type of street and value?