mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-19 04:53:30 +01:00
fix(util): Remove extra slash (#9347)
This commit is contained in:
@@ -23,7 +23,7 @@ export function hasMethods(item: ApiItemContainerMixin) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export function resolveItemURI(item: ApiItem): string {
|
export function resolveItemURI(item: ApiItem): string {
|
||||||
return `/${item.displayName}:${item.kind}`;
|
return `${item.displayName}:${item.kind}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
function memberPredicate(item: ApiItem): item is ApiMethod | ApiMethodSignature | ApiProperty | ApiPropertySignature {
|
function memberPredicate(item: ApiItem): item is ApiMethod | ApiMethodSignature | ApiProperty | ApiPropertySignature {
|
||||||
|
|||||||
Reference in New Issue
Block a user