UNPKG

openapi-axios

Version:

OpenAPI(2.0/3.0/3.1) Schema → Type-safe Axios

6 lines (5 loc) 397 B
import { Options } from 'prettier'; export declare function fixVarName(origin: string, bigger?: boolean, fallback?: string): string; export declare function nextUniqueName(refName: string, nameCountMap: Map<string, number>): string; export declare function refToType(ref: string): string; export declare function formatTsCode(tsCode: string, userOptions?: Options, cwd?: string): Promise<string>;