Skip to main content
Module

x/args/command-types.ts>ParseFailure

Extensible CLI arguments parser for Deno with intelligent TypeScript inference
Latest
type alias ParseFailure
import { type ParseFailure } from "https://deno.land/x/args@2.1.1/command-types.ts";

Failure variant of Command::extract

Type Parameters

ErrList extends readonly ParseError[]

Type of list of errors

variable ParseFailure
import { ParseFailure } from "https://deno.land/x/args@2.1.1/command-types.ts";

Create a failure for Command::extract

type

<ErrList extends readonly ParseError[]>(error: ErrList) => ParseFailure<ErrList>