mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
Possibly change default return type for function docs
This commit is contained in:
@@ -56,7 +56,7 @@ class DocumentedFunction extends DocumentedItem {
|
||||
this.directData = data;
|
||||
this.directData.meta = new DocumentedItemMeta(this, data.meta);
|
||||
this.directData.returns = new DocumentedVarType(this, data.returns ? data.returns[0].type : {
|
||||
names: ['null'],
|
||||
names: ['void'],
|
||||
});
|
||||
const newParams = [];
|
||||
for (const param of data.params) {
|
||||
|
||||
Reference in New Issue
Block a user