export interface Piece { type: number; square: number; } export interface ChaseRecord { attacker: Piece; victim: Piece; beProtected: boolean; } export type ChaseList = ChaseRecord[];