Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

LiteralSchemable

import type { LiteralSchemable } from "https://github.gh-proxy.cn/raw.githubusercontent.com/baetheus/fun/main/schemable.ts";

Wraps a union of literals in Schemable.

interface LiteralSchemable <U extends Kind> extends Hold<U> {
readonly literal: <A extends [Literal, ...Literal[]], B, C, D, E>(...s: A) => $<U, [A[number], B, C], [D], [E]>;
}

§Type Parameters

§
U extends Kind
[src]

§Extends

§Properties

§
readonly literal: <A extends [Literal, ...Literal[]], B, C, D, E>(...s: A) => $<U, [A[number], B, C], [D], [E]>
[src]