fix(es/codegen): Use emitAssertForImportAttributes
#7936
+14
−5
Merged