scrabble-solver
Version:
Scrabble Solver 2 - Free, open-source, cross-platform, multi-language analysis tool for Scrabble, Scrabble Duel, Super Scrabble, Letter League, Literaki, and Kelimelik. Quickly find the top-scoring words using the given board and tiles.
16 lines (13 loc) • 310 B
text/typescript
import { WordDefinition } from '@scrabble-solver/types';
export interface DictionaryState {
error: unknown;
input: string;
isLoading: boolean;
results: WordDefinition[];
}
export const dictionaryInitialState: DictionaryState = {
error: undefined,
input: '',
isLoading: false,
results: [],
};