UnifiedDiffHunkHeaderConfig constructor
const
UnifiedDiffHunkHeaderConfig({})
Create a new UnifiedDiffHunkHeaderConfig with the specified
openTag
, closeTag
, and defaultLabel
.
The defaultLabel
if supplied, generally appears after the closeTag
.
Implementation
const UnifiedDiffHunkHeaderConfig({
this.openTag = '@@',
this.closeTag = '@@',
this.defaultLabel,
});