only check string literals in property-literals transformer