refactor: remove unnecessary undefined & use optional chain (#11192)

This commit is contained in:
Noritaka Kobayashi 2025-05-26 20:07:56 +09:00 committed by GitHub
parent abd04a2b71
commit 5d858f5e66
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 4 additions and 5 deletions

View file

@ -480,7 +480,7 @@ Available document ids are:
export function toDocNavigationLink(
doc: DocMetadataBase,
options?: {sidebarItemLabel?: string | undefined},
options?: {sidebarItemLabel?: string},
): PropNavigationLink {
const {
title,