UNPKG

@shopify/app-bridge

Version:

**Shopify is doubling our engineering staff in 2021! [Join our team and work on libraries like this one.](https://smrtr.io/5GGrc)**

11 lines (10 loc) 511 B
import type { NavigationMenuAction } from '../../actions/Menu/NavigationMenu'; import type { ChannelMenuAction } from '../../actions/Menu/ChannelMenu'; import { Indexable, ValidationError } from '../type-validate'; export declare function validateProps(props: Indexable): { path: string | undefined; error: string; message?: string | undefined; value: any; }[] | undefined; export declare function validateAction(action: NavigationMenuAction | ChannelMenuAction): ValidationError[] | undefined;