From 9ff2409a46af90c1c959ff4bbed641f23c185d9e Mon Sep 17 00:00:00 2001 From: Dima Stebaev Date: Sat, 13 Apr 2024 22:04:26 +0300 Subject: [PATCH] fix: wrong argument type in the stringify function (#555) --- lib/version.d.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/version.d.ts b/lib/version.d.ts index d0903a4..8851d78 100644 --- a/lib/version.d.ts +++ b/lib/version.d.ts @@ -9,5 +9,7 @@ export function parse( version: string | null | undefined, regex?: RegExp, ): Pep440Version | null; -export function stringify(version: string | null | undefined): string | null; +export function stringify( + version: Pep440Version | null | undefined, +): string | null; export function valid(version: string | null | undefined): string | null;