Skip to content

Commit 8081b02

Browse files
committed
Add TODO
1 parent 555911d commit 8081b02

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

shared/types/npm-registry.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import type { ReadmeResponse } from './readme'
1212
// Re-export official npm types for packument/manifest
1313
export type { PackumentVersion, Manifest, ManifestVersion, PackageJSON } from '@npm/types'
1414

15+
// TODO: Remove this type override when @npm/types fixes the license field typing
1516
export type Packument = Omit<PackumentWithoutLicenseObjects, 'license'> & {
1617
// Fix for license field being incorrectly typed in @npm/types
1718
license?: string | { type: string; url?: string }

0 commit comments

Comments
 (0)