UNPKG

scrabble-solver

Version:

Scrabble Solver 2 - Free, open-source, cross-platform, multi-language analysis tool for Scrabble, Scrabble Duel, Super Scrabble, Letter League, Crossplay, Literaki, and Kelimelik. Quickly find the top-scoring words using the given board and tiles.

8 lines (7 loc) 271 B
export interface Cache<Key extends string, Value> { get(key: Key): Promise<Value | undefined>; getLastModifiedTimestamp(key: Key): number | undefined; has(key: Key): boolean; isStale(key: Key): boolean | undefined; set(key: Key, value: Value): Promise<void>; }