doc: tidy
This commit is contained in:
parent
382371af37
commit
78a2ffb1c2
|
@ -258,7 +258,7 @@ exports.hookSpecificationVisitor = (fn) => (
|
|||
.map(({name}) => (name ? `invoke${name}` : 'invoke'));
|
||||
const [returns] = tags
|
||||
.filter(({tag}) => 'returns' === tag)
|
||||
.map(({description, name, type}) => ({description: `${name} ${description}`, type}));
|
||||
.map(({description, name, type}) => ({description: `${name} ${description}`.trim(), type}));
|
||||
fn({
|
||||
hook: key.value,
|
||||
description: description.trim(),
|
||||
|
|
Loading…
Reference in New Issue
Block a user