export type DirtiableElement = Element & { dirty?: boolean }; export type TextField = HTMLInputElement | HTMLTextAreaElement;