mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-12 01:23:31 +01:00
Rebuild docs
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -83,6 +83,13 @@ function clean() {
|
||||
} else if (item.kind === 'function' && item.memberof) {
|
||||
const obj = cleaned.classes[item.memberof] || cleaned.interfaces[item.memberof];
|
||||
const newReturns = [];
|
||||
if (!item.returns) {
|
||||
item.returns = [{
|
||||
type: {
|
||||
names: ['null'],
|
||||
},
|
||||
}];
|
||||
}
|
||||
for (const name of item.returns[0].type.names) {
|
||||
newReturns.push(matchReturnName(name));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user