Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

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

Create and manage your GitHub workflows with TypeScript and Deno.
Latest
method Command.prototype.type
Re-export
import { Command } from "https://deno.land/x/actionify@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>