Skip to content

Commit

Permalink
fix: tags type
Browse files Browse the repository at this point in the history
  • Loading branch information
yjl9903 committed Jan 26, 2024
1 parent 4e4fb1d commit 117163b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ declare module '~build/git' {
/** The tag for the current SHA (or `null` if no tag exists) */
export const tag: string | null;

/** The tags for the current SHA*/
export const tags: string[];
/** The tags for the current SHA */
export const tags: string[] | null;

/** Tag for the closest tagged ancestor (or `null` if no ancestor is tagged) */
export const lastTag: string | null;
Expand Down

0 comments on commit 117163b

Please sign in to comment.