From 391eeecab7e772aa6464578520f0a54fdcda256f Mon Sep 17 00:00:00 2001 From: Peter Burns Date: Fri, 3 Mar 2023 12:34:59 -0600 Subject: [PATCH] Run `npm run format` (#1447) --- packages/catalog-api/src/lib/schema.ts | 4 ++-- packages/custom-elements-manifest-tools/src/lib/npm.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/catalog-api/src/lib/schema.ts b/packages/catalog-api/src/lib/schema.ts index d588cf1a..21f3684f 100644 --- a/packages/catalog-api/src/lib/schema.ts +++ b/packages/catalog-api/src/lib/schema.ts @@ -20,13 +20,13 @@ export const PackageStatus = { ...ReadablePackageStatus, ...UnreadablePackageStatus, } as const; -export type PackageStatus = typeof PackageStatus[keyof typeof PackageStatus]; +export type PackageStatus = (typeof PackageStatus)[keyof typeof PackageStatus]; export const VersionStatus = { ...ReadableVersionStatus, ...UnreadableVersionStatus, } as const; -export type VersionStatus = typeof VersionStatus[keyof typeof VersionStatus]; +export type VersionStatus = (typeof VersionStatus)[keyof typeof VersionStatus]; export const isReadablePackage = ( p: PackageInfo | undefined diff --git a/packages/custom-elements-manifest-tools/src/lib/npm.ts b/packages/custom-elements-manifest-tools/src/lib/npm.ts index f409bef3..521a4065 100644 --- a/packages/custom-elements-manifest-tools/src/lib/npm.ts +++ b/packages/custom-elements-manifest-tools/src/lib/npm.ts @@ -15,7 +15,7 @@ export interface PackageFiles { * * The response must be compatible with the npm registry Package Metadata * API: https://github.com/npm/registry/blob/master/docs/responses/package-metadata.md - * + * * If a package is not found, the returned Promise must reject with an * HttpError with status 404. */