• Merge two set of menu items.

    Type Parameters


    • Optional reference: T[]

      Reference set of menu items

    • Optional addition: T[]

      New items to add

    • Optional warn: boolean

      Whether to warn if item is duplicated; default to false

    • Optional addNewItems: boolean

    Returns T[] | undefined

    The merged set of items

Generated using TypeDoc