Access nested object properties safely in TypeScript using optional chaining to avoid runtime null reference errors.