Open
Description
Checklist
- This is a new feature, not a refactoring suggestion
- I have checked for this feature in the Sourcery documentation
- I have checked there are no open requests referencing the same feature
Description
The class syntax for pattern matching is not really suitable for JavaScript, as the current syntax requires :
to be on the same line.
The pattern can't be used for JavaScript as their classes do not use :
, but only class ${name}
.