fix: host.isKnownTypesPackageName maybe undefined (#42050)
fix: host.isKnownTypesPackageName maybe undefined (#42050)

* fix: host.isKnownTypesPackageName maybe undefined

* feat: remove GH#18217 comment
kpreisser/TypeScript,RyanCavanaugh/TypeScript,microsoft/TypeScript,microsoft/TypeScript,SaschaNaz/TypeScript,SaschaNaz/TypeScript,RyanCavanaugh/TypeScript,kitsonk/TypeScript,weswigham/TypeScript,weswigham/TypeScript,Microsoft/TypeScript,kpreisser/TypeScript,weswigham/TypeScript,kpreisser/TypeScript,SaschaNaz/TypeScript,microsoft/TypeScript,Microsoft/TypeScript,RyanCavanaugh/TypeScript,kitsonk/TypeScript,Microsoft/TypeScript,kitsonk/TypeScript,SaschaNaz/TypeScript