Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IContext<Value, State, Action>

Type parameters

Hierarchy

  • IContext

Index

Properties

action

action: Action

state

state: State

value

value: Value

Methods

i18n

  • i18n(key: string): string
  • Parameters

    • key: string

    Returns string

update

  • update<T>(key: T, value: Value[T]): void | Promise<void>
  • Type parameters

    • T: string | number | symbol

    Parameters

    • key: T
    • value: Value[T]

    Returns void | Promise<void>

Generated using TypeDoc, the 2021/11/30 at 下午2:46:41