@mudssky/jsutils
    Preparing search index...

    Type Alias CopyRecord<Obj>

    CopyRecord: { [Key in keyof Obj]: Obj[Key] }

    ts的类型会在使用时才计算 这个拷贝触发类型计算,计算出最后的索引类型

    Type Parameters

    • Obj extends Record<string, any>