TypeScript String Union Generator

Turn unique text lines into an escaped string-literal union.

Scope: Output is TypeScript source text only and is never executed.

Workbench

Inputs stay on this page.