Auto-Import
Auto-Import copied to clipboard
Destructuring breaks Auto-Import
I often use exports like this:
export const [encoding, setEncoding] = createSignal(false)
export const [recording, setRecording] = createSignal(false)
It's a pretty common pattern in SolidJS.
Auto Import parses these exports incorrectly, showing them with a leading square bracket in the autocomplete suggestions:
Also, the second element of the tuple (setXYZ
) is never picked up either.