UNPKG

typia

Version:

Superfast runtime validators with only one line

16 lines (15 loc) 554 B
import ts from "typescript"; import { IJsDocTagInfo } from "./IJsDocTagInfo"; import { IMetadataDictionary } from "./IMetadataDictionary"; import { IMetadataParameter } from "./IMetadataParameter"; import { Metadata } from "./Metadata"; export declare class MetadataParameter { name: string; type: Metadata; description: string | null; jsDocTags: IJsDocTagInfo[]; tsType?: ts.Type; private constructor(); static from(json: IMetadataParameter, dict: IMetadataDictionary): MetadataParameter; toJSON(): IMetadataParameter; }