mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Completed #3808
This commit is contained in:
parent
ad6b71074a
commit
8e2777565e
3 changed files with 11 additions and 6 deletions
|
@ -227,7 +227,8 @@ if (project) {
|
|||
};
|
||||
}),
|
||||
returnType: signature.type.toString(),
|
||||
description: signature.comment && signature.comment.summary.map((s) => parseText(s.text || '')).join(' ')
|
||||
description: signature.comment && signature.comment.summary.map((s) => parseText(s.text || '')).join(' '),
|
||||
deprecated: signature.comment && signature.comment.getTag('@deprecated') ? parseText(signature.comment.getTag('@deprecated').content[0].text) : undefined
|
||||
});
|
||||
});
|
||||
|
||||
|
@ -350,7 +351,8 @@ if (project) {
|
|||
readonly: prop.flags.isReadonly,
|
||||
type: prop.type.toString(),
|
||||
default: prop.comment && prop.comment.getTag('@defaultValue') ? prop.comment.getTag('@defaultValue').content[0].text : '', // TODO: Check
|
||||
description: prop.comment && prop.comment.summary.map((s) => s.text || '').join(' ')
|
||||
description: prop.comment && prop.comment.summary.map((s) => s.text || '').join(' '),
|
||||
deprecated: prop.comment && prop.comment.getTag('@deprecated') ? parseText(prop.comment.getTag('@deprecated').content[0].text) : undefined
|
||||
});
|
||||
});
|
||||
|
||||
|
@ -395,7 +397,8 @@ if (project) {
|
|||
};
|
||||
}),
|
||||
returnType: signature.type.toString(),
|
||||
description: signature.comment && signature.comment.summary.map((s) => parseText(s.text || '')).join(' ')
|
||||
description: signature.comment && signature.comment.summary.map((s) => parseText(s.text || '')).join(' '),
|
||||
deprecated: signature.comment && signature.comment.getTag('@deprecated') ? parseText(signature.comment.getTag('@deprecated').content[0].text) : undefined
|
||||
});
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue