Skip to content

Type Alias: InferParserValue<P> ​

ts
type InferParserValue<P> = P extends Parser<infer T> ? T : never;

Defined in: parser/types.ts:39

The type of the values a parser reads.

Type Parameters ​

Type Parameter
P

Released under the MIT License.