Skip to content

Commit 555911d

Browse files
committed
Rename import
1 parent 442e7ca commit 555911d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

shared/types/npm-registry.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@
66
* @see https://github.com/npm/registry/blob/main/docs/REGISTRY-API.md
77
*/
88

9-
import type { Packument as PackumentWithLicenceBug, PackumentVersion } from '@npm/types'
9+
import type { Packument as PackumentWithoutLicenseObjects, PackumentVersion } from '@npm/types'
1010
import type { ReadmeResponse } from './readme'
1111

1212
// Re-export official npm types for packument/manifest
1313
export type { PackumentVersion, Manifest, ManifestVersion, PackageJSON } from '@npm/types'
1414

15-
export type Packument = Omit<PackumentWithLicenceBug, 'license'> & {
15+
export type Packument = Omit<PackumentWithoutLicenseObjects, 'license'> & {
1616
// Fix for license field being incorrectly typed in @npm/types
1717
license?: string | { type: string; url?: string }
1818
}

0 commit comments

Comments
 (0)