Enhancement
Currently the interface for an invalid message object is neither defined nor exported. The invalid message object is part of the definition of Validity found at https://github.com/dojo/widgets/blob/master/src/form/middleware.ts#L4 however, more times than not, projects have to write their own interfaces for { valid: boolean, message: string }. Perhaps we could define and export a new interface for this with the name InvalidMessage
Package Version: 7.0.3
Enhancement
Currently the interface for an invalid message object is neither defined nor exported. The invalid message object is part of the definition of
Validityfound at https://github.com/dojo/widgets/blob/master/src/form/middleware.ts#L4 however, more times than not, projects have to write their own interfaces for{ valid: boolean, message: string }. Perhaps we could define and export a new interface for this with the nameInvalidMessagePackage Version: 7.0.3