This commit assigns the correct type instead of `any`. PR Close #49406
platform-browser-dynamic
toBeAnInstanceOf
toBeInstanceOf