UNPKG

@react-mvi/di

Version:

Dependency injection module for React MVI.

27 lines (26 loc) 611 B
/** * @fileoverview * @author Taketoshi Aono */ import * as binding from './binding'; /** * モジュールのインターフェース */ export interface Module { /** * Idに実体を紐つける */ configure(): void; /** * テンプレート定義を取得する */ getTemplates(): binding.BindingRelation; /** * バインディングのマップを取得する */ getBindings(): binding.BindingRelation; /** * インターセプトするシンボルのリストを取得する */ getIntercepts(): binding.InterceptPlaceholder[]; }