UNPKG

ts-json-schema-generator

Version:

Generate JSON schema from your Typescript sources

12 lines (11 loc) 510 B
import ts from "typescript"; import { BaseType } from "./BaseType.js"; import { ObjectType } from "./ObjectType.js"; export declare class FunctionType extends BaseType { protected namedArguments?: ObjectType | undefined; private comment; constructor(node?: ts.FunctionTypeNode | ts.FunctionExpression | ts.FunctionDeclaration | ts.ArrowFunction, namedArguments?: ObjectType | undefined); getId(): string; getComment(): string | undefined; getNamedArguments(): ObjectType | undefined; }