prettyprinting fix for types in `extends` position