@typespec/prettier-plugin-typespec 0.60.0-dev.0 → 0.61.0-dev.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -492,8 +492,13 @@ const diagnostics = {
492
492
  unassignable: {
493
493
  severity: "error",
494
494
  messages: {
495
- default: paramMessage `Type '${"value"}' is not assignable to type '${"targetType"}'`,
496
- withDetails: paramMessage `Type '${"sourceType"}' is not assignable to type '${"targetType"}'\n ${"details"}`,
495
+ default: paramMessage `Type '${"sourceType"}' is not assignable to type '${"targetType"}'`,
496
+ },
497
+ },
498
+ "property-unassignable": {
499
+ severity: "error",
500
+ messages: {
501
+ default: paramMessage `Types of property '${"propName"}' are incompatible`,
497
502
  },
498
503
  },
499
504
  "property-required": {