Skip to content

Commit

Permalink
TS fix
Browse files Browse the repository at this point in the history
  • Loading branch information
slorber committed Feb 13, 2025
1 parent 7063867 commit 2380af2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/src/plugins/changelog/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ function toChangelogEntries(fileContent: string): ChangelogEntry[] {
return fileContent
.split(/(?=\n## )/)
.map(toChangelogEntry)
.filter((s) => s !== null);
.filter((s): s is ChangelogEntry => s !== null);
}

async function createBlogFiles(
Expand Down

0 comments on commit 2380af2

Please sign in to comment.