UNPKG

retext-indefinite-article

Version:

retext plugin to check if indefinite articles (`a`, `an`) are used correctly

16 lines (15 loc) 387 B
/** * Check `a` and `an`. * * @returns * Transform. */ export default function retextIndefiniteArticle(): (tree: Root, file: VFile) => undefined; export type Root = import('nlcst').Root; export type Sentence = import('nlcst').Sentence; export type Word = import('nlcst').Word; export type VFile = import('vfile').VFile; /** * Type. */ export type Type = 'a' | 'a-or-an' | 'an';