Skip to content

Type Alias: WithParser<T, P, M> ​

ts
type WithParser<T, P, M> = Omit<T, "parser" | "missing"> & object;

Defined in: parser/types.ts:69

The options T with parser and missing typed by what a call passes.

Type Parameters ​

Type ParameterDefault type
T-
P extends ParserInput | undefined-
Munknown

Type Declaration ​

NameTypeDefined in
missing?Mparser/types.ts:74
parser?Pparser/types.ts:73

Released under the MIT License.