diff --git a/packages/nc-gui-v2/composables/useInjectionState/index.ts b/packages/nc-gui-v2/composables/useInjectionState/index.ts index 6cd0f3dbd9..a714fd5f3c 100644 --- a/packages/nc-gui-v2/composables/useInjectionState/index.ts +++ b/packages/nc-gui-v2/composables/useInjectionState/index.ts @@ -3,7 +3,7 @@ import type { InjectionKey } from 'vue' export function useInjectionState( composable: (...args: Arguments) => Return, keyName = 'InjectionState', -): readonly [useProvidingState: (...args: Arguments) => void, useInjectedState: () => Return | undefined] { +): readonly [useInjectionState: (...args: Arguments) => Return, useInjectedState: () => Return | undefined] { const key: string | InjectionKey = Symbol(keyName) const useProvidingState = (...args: Arguments) => {