openapi-to-ts
Version:
Generate TypeScript types from OpenAPI 3.0 specs.
8 lines (7 loc) • 309 B
TypeScript
import { SchemaObjectType } from '../types';
/**
* Maps a internally used type value to its string equivalent.
* @param typeValue the value to map.
* @param valueType the type of the value.
*/
export declare const mapTypeValueToString: (typeValue: string[], valueType: SchemaObjectType) => string;