[Fix] importType
: avoid crashing on a non-string
#2305
Merged
importType
: avoid crashing on a non-string
#2305