mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-17 20:13: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;
|
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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user