Skip to main content
Module

x/mod/deps.ts>Command#type

Simple Command Line Interface to create Deno module entrypoints, CI, config and more.
Latest
method Command.prototype.type
Re-export
import { Command } from "https://deno.land/x/mod@v2.3.9/deps.ts";

Register custom type.

Parameters

name: string

The name of the type.

handler: Type<unknown> | ITypeHandler<unknown>

The callback method to parse the type.

optional
options: ITypeOptions

Type options.