UNPKG

@kaokei/use-vue-service

Version:

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

4 lines (3 loc) 257 B
import { CommonToken, Container } from '@kaokei/di'; export declare function findChildService<T>(token: CommonToken<T>, container: Container): T | undefined; export declare function findChildrenServices<T>(token: CommonToken<T>, container: Container): T[];