T128error

Prop has the wrong type

The value passed to a prop does not match the prop's declared type.

When the value could be converted, the message suggests adding coerce:"true" to the prop's field.

Pass a value of the declared type, or add coerce:"true" to the field so Piko converts it.

$ piko explain T128

Build output ends each diagnostic with a link to this page, and editors using the Piko language server link the code under the squiggle. Look for CodePropTypeMismatch in Piko's source to see where it is reported.