From 3ead8605dce47a300b4ee658c40bc10127dae005 Mon Sep 17 00:00:00 2001 From: Wojciech Maj Date: Thu, 5 Feb 2026 09:39:35 +0100 Subject: [PATCH] fix: add types for deprecated license format Fixes #27 --- types/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/index.d.ts b/types/index.d.ts index ac4432d..d65d8fd 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -121,7 +121,7 @@ export interface PackageJSON { funding?: Funding | string | (Funding | string)[] homepage?: string keywords?: string[] - license?: string + license?: string | DeprecatedLicense licenses?: DeprecatedLicense | DeprecatedLicense[] main?: string man?: string | string[]