Skip to content
@ng-doc/app / Function

mergeNgDocTexts

Applies changes to texts: each group of each change replaces the texts it sets, in order, so a later change wins. A text set to undefined keeps its value. The result is frozen.

DeclarationTypeScript
function mergeNgDocTexts(texts: NgDocTexts, overrides: readonly NgDocTextsOverrides[]): NgDocTexts;

Returns

NgDocTexts -

New texts; texts and the changes are left as they are.

Parameters

NameTypeDescription
texts
NgDocTexts

The texts to change.

overrides
readonly NgDocTextsOverrides[]

The changes, the last one winning.

Symbol
Kind
Function
Scope
@ng-doc/app
Edit this page