UNPKG

@scrabble-solver/solver

Version:
9 lines (8 loc) 323 B
import { Board, Cell, Config, Pattern } from '@scrabble-solver/types'; declare const generatePattern: <P extends Pattern>({ board, cells, config, PatternModel, }: { board: Board; cells: Cell[]; config: Config; PatternModel: new (board: Board, cells: Cell[]) => P; }) => P[]; export default generatePattern;