UNPKG

mattermost-redux

Version:

Common code (API client, Redux stores, logic, utility functions) for building a Mattermost client

10 lines (9 loc) 405 B
import type { DialogElement } from '@mattermost/types/integrations'; type DialogError = { id: string; defaultMessage: string; values?: any; }; export declare function checkDialogElementForError(elem: DialogElement, value: any): DialogError | undefined | null; export declare function checkIfErrorsMatchElements(errors?: Record<string, string>, elements?: DialogElement[]): boolean; export {};