File tree Expand file tree Collapse file tree 2 files changed +10
-6
lines changed
src/lib/output/themes/default/partials Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change 1010 for your use case, please open an issue.
1111- Removed ` --logger ` option, to disable all logging, set the ` logLevel ` option to ` none ` .
1212- Dropped support for legacy ` [[link]] ` s, removed deprecated ` Reflection.findReflectionByName ` .
13- - Internal links are now only resolved with declaration references.
1413- Added ` @overload ` to default ignored tags.
1514
1615### API Breaking Changes
6665- TypeDoc will now ignore a leading ` v ` in versions, #2212 .
6766- Category titles now render with the same format in the page index and heading title, #2196 .
6867- Fixed crash when using ` typeof ` on a reference with type arguments, #2220 .
68+ - Fixed broken anchor links generated to signatures nested within objects.
6969
7070### Thanks!
7171
Original file line number Diff line number Diff line change 11import { JSX } from "../../../../utils" ;
22import type { DefaultThemeRenderContext } from "../DefaultThemeRenderContext" ;
33
4- export const anchorIcon = ( context : DefaultThemeRenderContext , anchor : string | undefined ) => (
5- < a href = { `#${ anchor } ` } aria-label = "Permalink" class = "tsd-anchor-icon" >
6- { context . icons . anchor ( ) }
7- </ a >
8- ) ;
4+ export function anchorIcon ( context : DefaultThemeRenderContext , anchor : string | undefined ) {
5+ if ( ! anchor ) return < > </ > ;
6+
7+ return (
8+ < a href = { `#${ anchor } ` } aria-label = "Permalink" class = "tsd-anchor-icon" >
9+ { context . icons . anchor ( ) }
10+ </ a >
11+ ) ;
12+ }
You can’t perform that action at this time.
0 commit comments