wordnik-api
Version:
Community API for https://wordnik.com with types
10 lines (9 loc) • 447 B
TypeScript
export default class RandomWord {
readonly canonicalForm: string | undefined;
readonly id: number;
readonly originalWord: string | undefined;
readonly suggestions: string[] | undefined;
readonly vulgar: string | undefined;
readonly word: string;
constructor(canonicalForm: string | undefined, id: number, originalWord: string | undefined, suggestions: string[] | undefined, vulgar: string | undefined, word: string);
}