mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 00:23:30 +01:00
build docs
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -122,11 +122,15 @@ function clean() {
|
||||
}
|
||||
seenEvents[item.name] = true;
|
||||
const obj = cleaned.classes[item.memberof] || cleaned.interfaces[item.memberof];
|
||||
const newTypes = [];
|
||||
for (const name of item.type.names) {
|
||||
newTypes.push(matchReturnName(name));
|
||||
if (item.params) {
|
||||
for (const param of item.params) {
|
||||
const newTypes = [];
|
||||
for (const name of param.type.names) {
|
||||
newTypes.push(matchReturnName(name));
|
||||
}
|
||||
param.type = newTypes;
|
||||
}
|
||||
}
|
||||
item.type = newTypes;
|
||||
obj.events.push(item);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user