UNPKG

cesr

Version:

[![NPM Version](https://img.shields.io/npm/v/cesr.svg?style=flat)](https://www.npmjs.com/package/cesr) [![NPM License](https://img.shields.io/npm/l/cesr.svg?style=flat)](https://github.com/lenkan/cesr-js/blob/main/LICENSE)

10 lines (9 loc) 274 B
export type DataValue = string | number | boolean | DataObject | DataArray; export type DataArray = DataValue[]; /** * Defines a data object that can be serialized to JSON. * E.g. key events and acdc objects */ export interface DataObject { [x: string]: DataValue; }