Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/habitra/deps.ts>Command#globalType

Command line tool for HabiTra
Latest
method Command.prototype.globalType
Re-export
import { Command } from "https://deno.land/x/habitra@v0.3.0/deps.ts";

Type Parameters

H extends TypeOrTypeHandler<unknown>
optional
N extends string = string

Parameters

name: N
handler: H
optional
options: Omit<ITypeOptions, "global">

Returns

Command<CPG, CPT, CO, CA, CG, CT, Merge<CGT, TypedType<N, H>>, CP>