word-vault
Version:
A lightweight JavaScript package for English word definitions and collections.
38 lines (37 loc) • 834 B
TypeScript
import type { IIdiom } from "./i-idiom";
import type { LevelA2CTypes } from "./level-a2c-types";
export interface IOxford {
pronunciations: {
uk: string[];
us: string[];
};
verbForms?: IOxfordVerbForms;
level: LevelA2CTypes;
definitions: IOxfordDefinition[];
wordOrigin: string;
idioms: IIdiom[];
}
export interface IOxfordDefinition {
partOfSpeech: string;
definition: string;
examples: string[];
synonyms: string[];
antonyms: string[];
collocations?: IOxfordCollocations;
}
export interface IOxfordVerbForms {
presentSimple: {
iYouWeThey: string;
heSheIt: string;
};
pastSimple: string;
pastParticiple: string;
ingForm: string;
}
export interface IOxfordCollocations {
adverb?: string[];
phrases?: string[];
verbPlusAbandon?: string[];
prepositions?: string[];
}
//# sourceMappingURL=i-oxford.d.ts.map