File tree 2 files changed +7
-2
lines changed
2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 4
4
5
5
- Constructor parameters which share a name with a property on a parent class will no longer inherit the comment on the parent class, #2636 .
6
6
- Packages mode will now attempt to use the comment declared in the comment class for inherited members, #2622 .
7
+ - TypeDoc no longer crashes when ` @document ` includes an empty file, #2638 .
8
+
9
+ ### Thanks!
10
+
11
+ - @bladerunner2020
7
12
8
13
## v0.26.4 (2024-07-10)
9
14
Original file line number Diff line number Diff line change @@ -202,8 +202,8 @@ export function parseCommentString(
202
202
203
203
// Check for frontmatter
204
204
let frontmatterData : Record < string , unknown > = { } ;
205
- const firstBlock = content [ 0 ] ;
206
- if ( firstBlock ?. text ? .startsWith ( "---\n" ) ) {
205
+ const firstBlock = content . at ( 0 ) ;
206
+ if ( firstBlock ?. text . startsWith ( "---\n" ) ) {
207
207
const end = firstBlock . text . indexOf ( "\n---\n" ) ;
208
208
if ( end !== - 1 ) {
209
209
const yamlText = firstBlock . text . slice ( "---\n" . length , end ) ;
You can’t perform that action at this time.
0 commit comments