mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-12 17:43:30 +01:00
feat(website): add support for function overloads (#8474)
Co-authored-by: Noel <buechler.noel@outlook.com>
This commit is contained in:
@@ -9,7 +9,7 @@ export interface FunctionProps {
|
||||
export function Function({ data }: FunctionProps) {
|
||||
return (
|
||||
<DocContainer
|
||||
name={data.name}
|
||||
name={`${data.name}${data.overloadIndex ? ` (${data.overloadIndex})` : ''}`}
|
||||
kind={data.kind}
|
||||
excerpt={data.excerpt}
|
||||
summary={data.summary}
|
||||
|
||||
Reference in New Issue
Block a user