Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/actionify/src/deps/types.ts>make

Create and manage your GitHub workflows with TypeScript and Deno.
Latest
function make
import { make } from "https://deno.land/x/actionify@0.3.0/src/deps/types.ts";

Produces a Brander<B>, given a brand type B. This simply returns identity but relies on type inference to give the return type the correct type.

Examples

Example 1

type UserId = Brand<number, 'user'>;
const UserId = make<UserId>();
const myUserId = UserId(42);

Returns

identity