We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 555911d commit 8081b02Copy full SHA for 8081b02
1 file changed
shared/types/npm-registry.ts
@@ -12,6 +12,7 @@ import type { ReadmeResponse } from './readme'
12
// Re-export official npm types for packument/manifest
13
export type { PackumentVersion, Manifest, ManifestVersion, PackageJSON } from '@npm/types'
14
15
+// TODO: Remove this type override when @npm/types fixes the license field typing
16
export type Packument = Omit<PackumentWithoutLicenseObjects, 'license'> & {
17
// Fix for license field being incorrectly typed in @npm/types
18
license?: string | { type: string; url?: string }
0 commit comments