UNPKG

ts-json-schema-generator

Version:

Generate JSON schema from your Typescript sources

5 lines (4 loc) 267 B
import { Node } from "typescript"; import { Context } from "../NodeParser.js"; export declare function hash(a: string | boolean | number | (string | boolean | number)[] | object): string | number; export declare function getKey(node: Node, context: Context): string;