@nestjs/swagger
Version:
OpenAPI for NestJS: generate the API document from controllers and decorators, serve Swagger UI, and derive request types with mapped types.
8 lines (7 loc) • 467 B
TypeScript
import * as ts from 'typescript';
import { PluginOptions } from '../merge-options.js';
export declare function typeReferenceToIdentifier(typeReferenceDescriptor: {
typeName: string;
isArray?: boolean;
arrayDepth?: number;
}, hostFilename: string, options: PluginOptions, factory: ts.NodeFactory, type: ts.Type, typeImports: Record<string, string>, hoistedTypeImports?: Map<string, string>, sourceImportSpecifiers?: Map<ts.Symbol, string>): ts.Identifier;