Intro μλ νμΈμ. TypeScript νμ μ€ν¬λ¦½νΈμμ refλ₯Ό μ¬μ©νμ¬ scrollTop μμΉλ₯Ό λ³κ²½νλ λμ€ μλμ κ°μ μλ¬κ° λ°μνμμ΅λλ€ someRef?.current?.scrollTop = 0; TS2779: The left-hand side of an assignment expression may not be an optional property access Why? μ€ν μμμ μ΅μ λ 체μ΄λκ³Ό ν λΉμ κ°μ΄ μ¬μ©ν μ μλ€κ³ ν©λλ€. The following is not supported, although it has some use cases; see Issue #18 for discussion: optional property assignment: a?.b = c How to solv..