UNPKG

@matatbread/typia

Version:

Superfast runtime validators with only one line

14 lines (13 loc) 436 B
import ts from "typescript"; import { Metadata } from "../schemas/metadata/Metadata"; import { MetadataCollection } from "./MetadataCollection"; export declare namespace ProtobufFactory { interface IProps { method: string; checker: ts.TypeChecker; transformer?: ts.TransformationContext; collection: MetadataCollection; type: ts.Type; } const metadata: (props: IProps) => Metadata; }