mirror of
https://github.com/danbulant/discord.js
synced 2026-07-06 19:50:55 +00:00
build docs
This commit is contained in:
parent
c5ab580562
commit
c7df7a4744
2 changed files with 9 additions and 5 deletions
File diff suppressed because one or more lines are too long
|
|
@ -122,11 +122,15 @@ function clean() {
|
||||||
}
|
}
|
||||||
seenEvents[item.name] = true;
|
seenEvents[item.name] = true;
|
||||||
const obj = cleaned.classes[item.memberof] || cleaned.interfaces[item.memberof];
|
const obj = cleaned.classes[item.memberof] || cleaned.interfaces[item.memberof];
|
||||||
const newTypes = [];
|
if (item.params) {
|
||||||
for (const name of item.type.names) {
|
for (const param of item.params) {
|
||||||
newTypes.push(matchReturnName(name));
|
const newTypes = [];
|
||||||
|
for (const name of param.type.names) {
|
||||||
|
newTypes.push(matchReturnName(name));
|
||||||
|
}
|
||||||
|
param.type = newTypes;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
item.type = newTypes;
|
|
||||||
obj.events.push(item);
|
obj.events.push(item);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue