mirror of
https://github.com/danbulant/discord.js
synced 2026-05-25 13:02:38 +00:00
fix docs
This commit is contained in:
parent
24f3a36701
commit
c5ab580562
1 changed files with 4 additions and 4 deletions
|
|
@ -122,11 +122,11 @@ function clean() {
|
|||
}
|
||||
seenEvents[item.name] = true;
|
||||
const obj = cleaned.classes[item.memberof] || cleaned.interfaces[item.memberof];
|
||||
const newParams = [];
|
||||
for (const param of item.params) {
|
||||
newParams.push(matchReturnName(param.name));
|
||||
const newTypes = [];
|
||||
for (const name of item.type.names) {
|
||||
newTypes.push(matchReturnName(name));
|
||||
}
|
||||
item.params = newParams;
|
||||
item.type = newTypes;
|
||||
obj.events.push(item);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue