Skip to main content
Module

x/froebel/types.ts>SplitString

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

Type Parameters

T extends string
optional
A extends string[] = []
definition: T extends `${infer H}${infer T}` ? SplitString<T, [...A, H]> : A