UNPKG

synapse-react-client

Version:

[![npm version](https://badge.fury.io/js/synapse-react-client.svg)](https://badge.fury.io/js/synapse-react-client) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettie

10 lines 488 B
export type EnumeratedValue = string | number | boolean | null | Record<string, unknown> | Array<unknown>; /** * Returns a list of enumerated values from the given JSON schema. * @param jsonSchema the JSON schema to extract enumerated values from * @returns an array of values that are valid options for the schema */ export default function getEnumeratedValues(jsonSchema: Record<string, unknown>): { value: EnumeratedValue; }[]; //# sourceMappingURL=getEnumeratedValues.d.ts.map