TS2532
typescript Object Is Possibly Undefined
An operation is being performed on a value that may be `undefined`. Use an `undefined` check, optional chaining (`?.`), or a non-null assertion (`!`) to handle this case.
An operation is being performed on a value that may be `undefined`. Use an `undefined` check, optional chaining (`?.`), or a non-null assertion (`!`) to handle this case.