Browse Source

chore(nc-gui): reexport use global types

pull/3801/head
braks 2 years ago
parent
commit
7449e5329d
  1. 2
      packages/nc-gui/composables/useGlobal/index.ts

2
packages/nc-gui/composables/useGlobal/index.ts

@ -4,6 +4,8 @@ import { useGlobalState } from './state'
import type { UseGlobalReturn } from './types' import type { UseGlobalReturn } from './types'
import { createGlobalState, useNuxtApp, watch } from '#imports' import { createGlobalState, useNuxtApp, watch } from '#imports'
export * from './types'
/** /**
* Global state is injected by {@link import('~/plugins/state') state} plugin into our nuxt app (available as `$state`). * Global state is injected by {@link import('~/plugins/state') state} plugin into our nuxt app (available as `$state`).
* You can still call `useGlobal` to receive the `$state` object and access the global state. * You can still call `useGlobal` to receive the `$state` object and access the global state.

Loading…
Cancel
Save