From 5fff216d7f91ba05c5bbd1b8ceeba3c41a802215 Mon Sep 17 00:00:00 2001 From: Sebastian Malton Date: Fri, 16 Sep 2022 09:18:15 -0400 Subject: [PATCH] Fix typing issue with missing build.publish field Signed-off-by: Sebastian Malton --- package.json | 3 +-- src/common/vars/application-information.injectable.ts | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 2bc0d9ff26..03d6b34a08 100644 --- a/package.json +++ b/package.json @@ -208,8 +208,7 @@ "lens" ], "role": "Viewer" - }, - "publish": [] + } }, "resolutions": { "@astronautlabs/jsonpath/underscore": "^1.12.1" diff --git a/src/common/vars/application-information.injectable.ts b/src/common/vars/application-information.injectable.ts index f3a8c27321..559b15294b 100644 --- a/src/common/vars/application-information.injectable.ts +++ b/src/common/vars/application-information.injectable.ts @@ -6,7 +6,7 @@ import { getInjectable } from "@ogre-tools/injectable"; import packageJson from "../../../package.json"; export type ApplicationInformation = Pick & { - build: Partial; + build: Partial & { publish?: unknown[] }; }; const applicationInformationInjectable = getInjectable({