typescript object with nested any key value code example Example: typescript get objects nested in object var obj: type = Object.values(<object>)[<indexOfNested>]