Skip to main content
Module

x/release_up/deps.ts>Command#type

🌱 Automate releases
Go to Latest
method Command.prototype.type
Re-export
import { Command } from "https://deno.land/x/release_up@0.5.0/deps.ts";

Register custom type.

Type Parameters

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

Parameters

name: N

The name of the type.

handler: H

The callback method to parse the type.

optional
options: ITypeOptions

Type options.

Returns

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