mirror of
https://github.com/danbulant/discord.js
synced 2026-06-20 23:21:04 +00:00
Add param optional to docs
This commit is contained in:
parent
4e53aa4a23
commit
d66ac3fc39
2 changed files with 3 additions and 2 deletions
File diff suppressed because one or more lines are too long
|
|
@ -23,10 +23,11 @@ class DocumentedParam extends DocumentedItem {
|
|||
|
||||
serialize() {
|
||||
super.serialize();
|
||||
const { name, description, type } = this.directData;
|
||||
const { name, description, type, optional } = this.directData;
|
||||
return {
|
||||
name,
|
||||
description,
|
||||
optional,
|
||||
type: type.serialize(),
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue