It seems having a quotation mark in a comment before the class name string (That's) makes TW autocomplete not trigger.
Code:
import clsx from 'clsx'
export function Component() {
return (
<div
className={clsx(
// That's great!
'flex',
)}
/>
)
}
Expected vs actual behavior:

