`symbol.parent` really is possibly sometimes undefined here. (#37159)
`symbol.parent` really is possibly sometimes undefined here. (#37159)

Fixes #37158
SaschaNaz/TypeScript,Microsoft/TypeScript,kitsonk/TypeScript,kpreisser/TypeScript,RyanCavanaugh/TypeScript,nojvek/TypeScript,kitsonk/TypeScript,Microsoft/TypeScript,alexeagle/TypeScript,nojvek/TypeScript,microsoft/TypeScript,nojvek/TypeScript,weswigham/TypeScript,kpreisser/TypeScript,SaschaNaz/TypeScript,weswigham/TypeScript,weswigham/TypeScript,RyanCavanaugh/TypeScript,kpreisser/TypeScript,microsoft/TypeScript,nojvek/TypeScript,alexeagle/TypeScript,alexeagle/TypeScript,RyanCavanaugh/TypeScript,Microsoft/TypeScript,SaschaNaz/TypeScript,microsoft/TypeScript,kitsonk/TypeScript,SaschaNaz/TypeScript