lukeed/tidyPublic

fix: name span of JS signature parameters

The pattern of an index signature's parameter and of a this parameter
has the parameter's own node in oxc, whose span includes the type
annotation, so [k: string]: T printed its type twice. Their Pat now
spans the name.
LELuke Edwards authored
24361c4Patch
Parentec56495
1 file changed+9-2
StackedSplit
crates/tidy/src/js/ast/node.rs+9 −2