componentState<T extends AFComponentState> method

T componentState<T extends AFComponentState>()

Implementation

T componentState<T extends AFComponentState>() {
  return components.stateFor(T) as T;
}