parjs
Version:
Library for building parsers using combinators.
5 lines • 338 B
TypeScript
import type { ParjsCombinator } from "../parjser";
import type { ImplicitParjser } from "../wrap-implicit";
import type { getParsedType } from "../util-types";
export declare function or<const T, Opts extends ImplicitParjser<unknown>[]>(...alts: Opts): ParjsCombinator<T, T | getParsedType<Opts[number]>>;
//# sourceMappingURL=or.d.ts.map