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 10
10
for your use case, please open an issue.
11
11
- Removed ` --logger ` option, to disable all logging, set the ` logLevel ` option to ` none ` .
12
12
- Dropped support for legacy ` [[link]] ` s, removed deprecated ` Reflection.findReflectionByName ` .
13
- - Internal links are now only resolved with declaration references.
14
13
- Added ` @overload ` to default ignored tags.
15
14
16
15
### API Breaking Changes
66
65
- TypeDoc will now ignore a leading ` v ` in versions, #2212 .
67
66
- Category titles now render with the same format in the page index and heading title, #2196 .
68
67
- Fixed crash when using ` typeof ` on a reference with type arguments, #2220 .
68
+ - Fixed broken anchor links generated to signatures nested within objects.
69
69
70
70
### Thanks!
71
71
Original file line number Diff line number Diff line change 1
1
import { JSX } from "../../../../utils" ;
2
2
import type { DefaultThemeRenderContext } from "../DefaultThemeRenderContext" ;
3
3
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