Preview:ts // This works like the linux `tr` command export const tr = <TRANSLATIONS extends string[]>( input: string, ...translations: TRANSLATIONS extends [infer FIRST, infer SECOND, ...infer REST] ? FIRST extends undefined ? SECOND extends undefined : TRANSLATIONS ...
You can choose specific lines to embed by selecting them before copying the link.