UNPKG

from-schema

Version:

Infer TypeScript types from JSON schemas

10 lines (8 loc) 318 B
import { SchemaBase } from '../generic'; import { TsonSchemaOrPrimitive } from './TsonSchemaOrPrimitive'; export type IntersectionTsonSchema = SchemaBase & { readonly allOf: readonly TsonSchemaOrPrimitive[]; readonly description?: string; readonly default?: unknown; readonly examples?: unknown[]; };