fix(semantic): typeof operator cannot reference type-only import
#4500
+55
−5
typeof operator cannot reference type-only import
#4500