UNPKG

@kaokei/use-vue-service

Version:

Lightweight Vue 3 state management with dependency injection, inspired by Angular services.

8 lines (7 loc) 442 B
import { Token } from '@kaokei/di'; import { FindChildService, FindChildrenServices } from './interface.ts'; export declare const FIND_CHILD_SERVICE: Token<FindChildService>; export declare const FIND_CHILDREN_SERVICES: Token<FindChildrenServices>; export declare const SCOPE_KEY: unique symbol; export declare const CONTAINER_TOKEN = "USE_VUE_SERVICE_CONTAINER_TOKEN"; export declare const DEFAULT_CONTAINER: import('@kaokei/di').Container;