UNPKG

from-schema

Version:

Infer TypeScript types from JSON schemas

9 lines (7 loc) 290 B
import { SchemaBase } from '../generic/SchemaBase'; import { BsonSchemaOrPrimitive } from './BsonSchemaOrPrimitive'; export type AnyOfBsonSchema = SchemaBase & { readonly anyOf: readonly BsonSchemaOrPrimitive[]; readonly description?: string; readonly examples?: unknown[]; };