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