UNPKG

@logic-pad/core

Version:
7 lines (6 loc) 266 B
import GridData from '../grid.js'; import Instruction from '../instruction.js'; export interface GridChangeHandler { onGridChange(newGrid: GridData): this; } export declare function handlesGridChange<T extends Instruction>(val: T): val is T & GridChangeHandler;