Skip to content

Commit

Permalink
fix: correct type declaration for inc() (#471)
Browse files Browse the repository at this point in the history
  • Loading branch information
Churro committed Dec 18, 2023
1 parent 76b10f4 commit 8b1f6c4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/semantic.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
export function inc(input: string): string | null;
export function inc(
input: string,
release?: string,
preReleaseIdentifier?: string,
): string | null;
export function major(input: string): number;
export function minor(input: string): number;
export function patch(input: string): number;

0 comments on commit 8b1f6c4

Please sign in to comment.