mirror of
https://github.com/danbulant/discord.js
synced 2026-06-17 21:51:20 +00:00
Possibly change default return type for function docs
This commit is contained in:
parent
c65d7a10ec
commit
7b26e70a2e
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue