UNPKG

zent

Version:

一套前端设计语言和基于React的实现

7 lines (6 loc) 407 B
import { ISelectItem } from './Select'; export declare function reviveSelectItem<K extends string | number = string | number>(reviver: K | { key: K; [k: string]: unknown; } | ISelectItem<K>['reviver']): ISelectItem<K>; export declare function filterReviver<Key extends string | number = string | number, Item extends ISelectItem<Key> = ISelectItem<Key>>(value: Item[] | Item | null): Item | Item[];