Function extendVocabulary
- extendVocabulary<TBase, TLocal, TNew>(vocabulary, ...newNames): ReturnType<typeof createVocabulary>
-
Type Parameters
-
TBase extends string
-
TLocal extends string
-
TNew extends string
Parameters
-
vocabulary: Vocabulary<TBase, TLocal>
-
Rest
...newNames: TNew[]
Creates a new Vocabulary that extends an existing one by adding new local names.