UNPKG

@typespec/json-schema

Version:

TypeSpec library for emitting TypeSpec to JSON Schema and converting JSON Schema to TypeSpec

6 lines 339 B
import type { DecoratorContext, Model, Type } from "@typespec/compiler"; export type ValidatesRawJsonDecorator = (context: DecoratorContext, target: Model, value: Type) => void; export type TypeSpecJsonSchemaPrivateDecorators = { validatesRawJson: ValidatesRawJsonDecorator; }; //# sourceMappingURL=TypeSpec.JsonSchema.Private.d.ts.map