object-shape-tester - v6.3.3
    Preparing search index...

    Type Alias ShapeInitSchema<Init>

    ShapeInitSchema: IsAny<Init> extends true
        ? any
        : IsUnknown<Init> extends true
            ? any
            : Init extends TSchema
                ? Init
                : Init extends { $_schema: infer InnerSchema extends TSchema }
                    ? InnerSchema
                    : Init extends AnyFunction
                        ? TUnsafe<Init>
                        : Init extends string
                            ? TString
                            : Init extends number
                                ? TNumber
                                : Init extends boolean
                                    ? TBoolean
                                    : Init extends symbol
                                        ? TSymbol
                                        : Init extends null ? TNull : (...) extends (...) ? (...) : (...)

    Converts a shape init into its schema type.

    Type Parameters

    • Init