Compatible type

CompatibleCell is an extended and exchangeable cell (compatible with different types).

Definition

type Compatible<TCell extends Cell> = TCell & {
    text: string;
    value: number;
}

Properties

Property nameTypeProperty description
textstringText value of a cell
valuenumberNumeric value of a cell, if there is no numeric value representation use NaN