@shopify/app-bridge-core
Version:
**[Join our team and work on libraries like this one.](https://www.shopify.ca/careers)**
13 lines (12 loc) • 504 B
TypeScript
import { Action } from '../../actions/Toast';
import { MetaAction } from '../../actions/types';
import { ValidationError, Indexable } from '../type-validate';
export declare const toastSchema: import("../type-validate").Validator;
export declare function validateAction(action: MetaAction): ValidationError[] | undefined;
export declare function validateProps(props: Indexable): {
path: string | undefined;
error: string;
message?: string;
value: any;
}[] | undefined;
export { Action };