Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/froebel/types.ts>Surround

A strictly typed utility library.
Go to Latest
type alias Surround
import { type Surround } from "https://deno.land/x/froebel@v0.18.0/types.ts";

Type Parameters

T extends string
S extends string
definition: SplitEven<S> extends [infer A, infer B] ? `${A extends string ? A : never}${T}${B extends string ? B : never}` : never