© 2026 Hedgehog Software, LLC
name
type T = { name: string }[]; const arr: T = []; const name = arr[0].name; // no ts error but it throws Cannot read properties of undefined