schema-dts-gen
Version:
Generate TypeScript Definitions for Schema.org Schema
16 lines • 550 B
TypeScript
import type { TypeNode } from 'typescript';
import { ClassMap } from './class.js';
import { Context } from './context.js';
import type { NamedNode, Quad } from 'n3';
/**
* Corresponds to a value that belongs to an Enumeration.
*/
export declare class EnumValue {
readonly value: NamedNode;
readonly INSTANCE = "EnumValue";
private comment?;
constructor(value: NamedNode, types: readonly NamedNode[], map: ClassMap);
add(value: Quad): boolean;
toTypeLiteral(context: Context): TypeNode[];
}
//# sourceMappingURL=enum.d.ts.map