Utility TypeScript @ 2.0.0-beta.6
    Preparing search index...

    Type Alias MergeObjectsReplace<A, B>

    MergeObjectsReplace: {
        [K in keyof A | keyof B]: K extends keyof B ? B[K] : A[K & keyof A]
    }

    Tries to merge object types together. Use cautiously as results may not always be what you expect.

    Type Parameters

    • A
    • B

    PKG_VERSION