WEB-13035 fix resolve members of TS class referenced by imported variable