UNPKG

@textlint/kernel

Version:
15 lines 481 B
import { TxtNode } from "@textlint/ast-node-types"; /** * textlint plugin can return TxtNode or { text: string; ast: TxtNode } * Return true if it the `o` is { text: string; ast: TxtNode } that is called ParsedObject. * https://github.com/textlint/textlint/pull/650 * @param o */ export declare function isPluginParsedObject(o: TxtNode | { text: string; ast: TxtNode; }): o is { text: string; ast: TxtNode; }; //# sourceMappingURL=isPluginParsedObject.d.ts.map