@sanity/form-builder
Version:
Sanity form builder
11 lines • 377 B
TypeScript
export interface ValueConverter {
test: NumberConstructor | ((value: any) => boolean);
convert: NumberConstructor | StringConstructor | ((value: any) => boolean | Record<string, any> | string);
}
declare const converters: {
[fromType: string]: {
[toType: string]: ValueConverter;
};
};
export default converters;
//# sourceMappingURL=converters.d.ts.map