Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Apr 13, 2024
1 parent 87afcb7 commit e7587ba
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ export type DiffType = 'major' | 'minor' | 'patch' | 'error' | null
// @types/pacote uses "import = require()" syntax which is not supported by unbuild
// So instead of using @types/pacote, we declare the type definition with only fields we need
export interface Packument {
name: string
'name': string
/**
* An object where each key is a version, and each value is the manifest for
* that version.
*/
versions: Record<string, Omit<Packument, 'versions'>>
'versions': Record<string, Omit<Packument, 'versions'>>
/**
* An object mapping dist-tags to version numbers. This is how `foo@latest`
* gets turned into `[email protected]`.
Expand All @@ -43,7 +43,7 @@ export interface Packument {
* In the full packument, an object mapping version numbers to publication
* times, for the `opts.before` functionality.
*/
time: Record<string, string> & {
'time': Record<string, string> & {
created: string
modified: string
}
Expand Down

0 comments on commit e7587ba

Please sign in to comment.