astro-ghostcms/.pnpm-store/v3/files/54/891107603268ef3f17147f29c79...

16 lines
393 B
Plaintext
Raw Normal View History

2024-02-14 14:10:47 +00:00
/**
* @typedef {import('nlcst').Root} Root
*/
import {unherit} from 'unherit'
// @ts-expect-error: untyped.
import {ParseLatin} from 'parse-latin'
/** @type {import('unified').ParserClass<Root>} */
export const Parser = ParseLatin
/** @type {import('unified').Plugin<void[], string, Root>} */
export default function retextLatin() {
Object.assign(this, {Parser: unherit(ParseLatin)})
}