Skip to main content
Module

x/scaffold/src/deps/cli.ts>Command#type

scaffold your next project with style and 💗
Latest
method Command.prototype.type
Re-export
import { Command } from "https://deno.land/x/scaffold@0.3.0/src/deps/cli.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>