diff --git a/index.d.ts b/index.d.ts index c121a86..aaea143 100644 --- a/index.d.ts +++ b/index.d.ts @@ -12,6 +12,11 @@ declare namespace gitRepoInfo { tag: string | null; /** Tag for the closest tagged ancestor (or `null` if no ancestor is tagged) */ lastTag: string | null; + /** + * Number of commits since the closest tagged ancestor. + * `0` if this commit is tagged, or `Infinity` if no ancestor is tagged. + */ + commitsSinceLastTag: number; /** The committer of the current SHA */ committer: string; /** The commit date of the current SHA */