fix: support TS type assertions (#15642)
fix: ensure undefined class still applies scoping class, if necessary (#15643)
undefined