• Extract the definition(s) with the given type and merge them,

    Type Parameters

    • T extends {
          mergeStrategy?: string;


    • type: string | string[]

      Type, or types, to extract. If a single type is specified that is what will be returned. If an array of types are specified they will all be merged together.

    • map: Record<string, T>

      Map from which to retrieve individual types

    • Optional shouldOverride: ((p, from) => boolean)
        • (p, from): boolean
        • Parameters

          • p: string
          • from: any

          Returns boolean

    Returns any