TypeScript🔴 TypeScript: Object is possibly 'undefined'TS2532: Object is possibly 'undefined'❓ 왜 이 에러가 발생하나요?Optional 프로퍼티나 nullable 타입을 안전하게 처리하지 않았을 때 발생합니다.✅ 해결 방법Optional Chaining, Non-null assertion, 또는 타입 가드를 사용하세요.💻 코드 예시// ❌ 에러 발생interface User { name?: string;}const user: User = {};console.log(user.name.toUpperCase()); // Object is possibly 'undefined'// ✅ 해결 방법 1: Optional Chainingco..