choerodon-ui
Version:
An enterprise-class UI design language and React-based implementation
5 lines (4 loc) • 435 B
TypeScript
export declare type ValidationMessageReportFormatter = (message: any) => Promise<string | undefined> | string | undefined;
export declare type ValidationMessageFormatter = (message?: string, injectOptons?: any) => Promise<any> | any;
export declare function defaultValidationMessageFormatter(message?: string, injectOptons?: any): string | undefined;
export declare function defaultValidationMessageReportFormatter(_: any): undefined;