Kfg Documentation
    Preparing search index...

    Type Alias StaticSchema<T>

    StaticSchema: T extends { items: infer I; type: "array" }
        ? StaticSchema<I>[]
        : T extends TSchema
            ? Static<T>
            : T extends SchemaDefinition
                ? { -readonly [K in keyof T]: StaticSchema<T[K]> }
                : never

    A mapped type que converte um SchemaDefinition em tipo estático TypeScript. Agora com suporte a arrays do TypeBox.

    Type Parameters

    • T