Skip to content

Commit 15d2c2d

Browse files
committed
fix(changelog-github): align buildReleaseLineTokens link types with undefined-based links
1 parent 241f7de commit 15d2c2d

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

‎packages/changelog-github/src/render-template.ts‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,12 @@ export function renderTemplate(
2929

3030
export function buildReleaseLineTokens(args: {
3131
summaryLinked: string;
32-
links: { pull: string | null; commit: string | null; user: string | null };
33-
users: string | null;
32+
links: {
33+
pull?: string | null;
34+
commit?: string | null;
35+
user?: string | null;
36+
};
37+
users: string | null | undefined;
3438
}): Record<string, string> {
3539
const { summaryLinked, links, users } = args;
3640
// Tokens render bare (no built-in spacing); the template author writes the

0 commit comments

Comments
 (0)