UNPKG

@vue-ioc/core

Version:

IoC and DI for Vue powered by InversifyJS and inspired by Angular @Module syntactic sugar.

7 lines (6 loc) 264 B
import { Container } from 'inversify'; import { IBaseBinding } from './Binding'; export interface IValueBinding extends IBaseBinding { useValue: any; } export declare const bindValue: (container: Container, { provide, useValue }: IValueBinding) => void;