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

x/rimbu/typical/str.ts>AppendTwo

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
type alias AppendTwo
import { type AppendTwo } from "https://deno.land/x/rimbu@1.0.2/typical/str.ts";

Convenience type to represent the concatenation of three string types.

Examples

Example 1

AppendTwo<'abc', 'def', 'ghi'> => 'abcdefghi'
AppendTwo<'abc', 'd' | 'e', 'fgh'> => 'abcdfgh' | 'abcefgh'

Type Parameters

Start extends string
Middle extends string
End extends string
definition: `${Start}${Middle}${End}`