API 参考
    正在准备搜索索引...

    类型别名 SetFields<TSchema>

    SetFields: {
        readonly [key in KeysOfAType<TSchema, ReadonlyArray<any> | undefined>]?:
            | OptionalId<Flatten<TSchema[key]>>
            | AddToSetOperators<OptionalId<Flatten<TSchema[key]>>[]>
    } & NotAcceptedFields<TSchema, ReadonlyArray<any> | undefined> & {
        readonly [key: string]: any;
    }

    类型参数

    • TSchema