@shopify/app-bridge-core
Version:
**[Join our team and work on libraries like this one.](https://www.shopify.ca/careers)**
17 lines (16 loc) • 561 B
TypeScript
import { PickerAction, Action } from '../../actions/Picker';
import { Indexable, ValidationError } from '../type-validate';
/**
* @unstable This API may be updated without warning in the future
*/
export declare function validateProps(props: Indexable): {
path: string | undefined;
error: string;
message?: string | undefined;
value: any;
}[] | undefined;
/**
* @unstable This API may be updated without warning in the future
*/
export declare function validateAction(action: PickerAction): ValidationError[] | undefined;
export { Action };