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 Parameter | Default type |
|---|---|
T | - |
P extends ParserInput | undefined | - |
M | unknown |
Type Declaration
| Name | Type | Defined in |
|---|---|---|
missing? | M | parser/types.ts:74 |
parser? | P | parser/types.ts:73 |