Skip to content

Type Alias: GbnfJsonObjectSchema<Keys>

ts
type GbnfJsonObjectSchema<Keys>: {
  type: "object";
  properties: Readonly<{ [key in Keys]: GbnfJsonSchema }>;
  required: readonly Keys[];
};

Type Parameters

Type ParameterDefault type
Keys extends stringstring

Type declaration

type

ts
type: "object";

properties

ts
properties: Readonly<{ [key in Keys]: GbnfJsonSchema }>;

required?

ts
optional required: readonly Keys[];

Defined in

utils/gbnfJson/types.ts:17