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

    类型别名 StrictMatchKeysAndValues<TSchema>实验性

    StrictMatchKeysAndValues: Readonly<
        {
            [Property in Join<NestedPaths<TSchema, []>, ".">]?: PropertyType<
                TSchema,
                Property,
            >
        } & {
            [Property in `${NestedPathsOfType<TSchema, any[]>}.$${
                | `[${string}]`
                | ""}`]?: ArrayElement<
                PropertyType<
                    TSchema,
                    Property extends `${infer Key}.$${string}` ? Key : never,
                >,
            >
        } & {
            [Property in `${NestedPathsOfType<TSchema, Record<string, any>[]>}.$${
                | `[${string}]`
                | ""}.${string}`]?: any
        } & Document,
    >

    类型参数

    • TSchema