I have a function signature in an interface which I'd like to use as the signature for a callback parameter in some class.
export interface IGrid {
gridFormat(gridCell: GridCell, grid: Grid): boolean
}
I'd like to do something like this:
validateFormat(validator: IGrid.gridFormat) {
// ...
}
Is this possible?