mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
fix(website): link to external constructors (#10869)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
@@ -690,12 +690,8 @@ function itemParameters(item: ApiDocumentedItem & ApiParameterListMixin) {
|
||||
|
||||
function itemConstructor(item: ApiConstructor) {
|
||||
return {
|
||||
kind: item.kind,
|
||||
name: item.displayName,
|
||||
sourceURL: item.sourceLocation.fileUrl,
|
||||
sourceLine: item.sourceLocation.fileLine,
|
||||
...itemInfo(item),
|
||||
parametersString: parametersString(item),
|
||||
summary: item.tsdocComment ? itemTsDoc(item.tsdocComment, item) : null,
|
||||
parameters: itemParameters(item),
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user