UNPKG

@playkit-js/playkit-js

Version:

[![Build Status](https://github.com/kaltura/playkit-js/actions/workflows/run_canary.yaml/badge.svg)](https://github.com/kaltura/playkit-js/actions/workflows/run_canary.yaml) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.

16 lines (12 loc) 261 B
// @flow import State from '../../src/state/state'; declare type Transition = { [state: string]: { [event: string]: Function } }; declare type MaybeState = State | null; declare type StateChanged = { oldState: MaybeState, newState: MaybeState };