From c7be25eca3dbb69adaa05532c3afc61e612322bb Mon Sep 17 00:00:00 2001 From: Wing-Kam Wong Date: Wed, 17 Aug 2022 18:27:33 +0800 Subject: [PATCH] chore(gui-v2): use InjectionKey> for IsLockedInj --- packages/nc-gui-v2/context/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nc-gui-v2/context/index.ts b/packages/nc-gui-v2/context/index.ts index 54f50a54fa..fa1562d33f 100644 --- a/packages/nc-gui-v2/context/index.ts +++ b/packages/nc-gui-v2/context/index.ts @@ -16,7 +16,7 @@ export const PaginationDataInj: InjectionKey['pag export const ChangePageInj: InjectionKey['changePage']> = Symbol('pagination-data-injection') export const IsFormInj: InjectionKey> = Symbol('is-form-injection') export const IsGridInj: InjectionKey = Symbol('is-grid-injection') -export const IsLockedInj: InjectionKey = Symbol('is-locked-injection') +export const IsLockedInj: InjectionKey> = Symbol('is-locked-injection') export const CellValueInj: InjectionKey> = Symbol('cell-value-injection') export const ActiveViewInj: InjectionKey> = Symbol('active-view-injection') export const ReadonlyInj: InjectionKey = Symbol('readonly-injection')