From 7b0ac796d2448f50f6dd0695ebefcb059cfb5152 Mon Sep 17 00:00:00 2001 From: Iku-turso Date: Fri, 25 Mar 2022 17:24:55 +0200 Subject: [PATCH] Add a deprecation from a review comment Signed-off-by: Iku-turso --- src/common/hotbar-store.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/common/hotbar-store.ts b/src/common/hotbar-store.ts index 3458e8d460..da583b5aa6 100644 --- a/src/common/hotbar-store.ts +++ b/src/common/hotbar-store.ts @@ -9,4 +9,7 @@ import { asLegacyGlobalSingletonForExtensionApi, } from "../extensions/as-legacy-globals-for-extension-api/as-legacy-global-singleton-object-for-extension-api"; +/** + * @deprecated use di.inject(hotbarStoreInjectable) instead. + */ export const HotbarStore = asLegacyGlobalSingletonForExtensionApi(hotbarStoreInjectable);