vscode-styled-components
vscode-styled-components copied to clipboard
Highlighting breaks when using an implicit return before the TemplateStringsArray
- OS: Darwin x64 21.6.0
- VSCode Version: 1.72.2
- Extension Version: 1.6.6
Additional context Add any other context about the problem here.
Steps to Reproduce:
Given
export const foo = (fn: Function) => (name: TemplateStringsArray) => {
}
// Use foo here...
interface FooBar {
}
Breaks
foo(() => ({
}))``

Fixes
foo(() => {
return { }
})``
