form-associated-helpers
Version:
A collection of reusable mixins + helpers for working with form associated custom elements.
13 lines (12 loc) • 340 B
TypeScript
/**
* @typedef {{validationMessage: string }} Validateable
*/
/**
* @type {() => import("../types.js").Validator<HTMLElement & { required?: boolean }>}
*/
export const ValueMissingValidator: () => import("../types.js").Validator<HTMLElement & {
required?: boolean;
}>;
export type Validateable = {
validationMessage: string;
};