Join CSV field array into a CSV-formatted string with proper escaping.
This type handles CSV-specific formatting:
const header = ["name", "age", "city", "zip"];type _ = JoinCSVFields<typeof header>// `name,age,city,zip` Copy
const header = ["name", "age", "city", "zip"];type _ = JoinCSVFields<typeof header>// `name,age,city,zip`
const header = ["name", "a\nge", "city", "zip"];type _ = JoinCSVFields<typeof header, "@", "$">// `name@$a\nge$@city@zip` Copy
const header = ["name", "a\nge", "city", "zip"];type _ = JoinCSVFields<typeof header, "@", "$">// `name@$a\nge$@city@zip`
Join CSV field array into a CSV-formatted string with proper escaping.