Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/lume/deps/cliffy.ts>Command#globalType

🔥 Static site generator for Deno 🦕
Very Popular
Latest
method Command.prototype.globalType
Re-export
import { Command } from "https://deno.land/x/lume@v2.4.1/deps/cliffy.ts";

Type Parameters

THandler extends TypeOrTypeHandler<unknown>
optional
TName extends string = string

Parameters

name: TName
handler: THandler
optional
options: Omit<TypeOptions, "global">

Returns

Command<TParentCommandGlobals, TParentCommandTypes, TCommandOptions, TCommandArguments, TCommandGlobals, TCommandTypes, Merge<TCommandGlobalTypes, TypedType<TName, THandler>>, TParentCommand>