Commit adaae60
Use positive IsIdentifier check instead of negative IsBindingPattern check
Following the TypeScript reference more precisely - check if param.Name() is an
Identifier rather than checking if it's NOT a binding pattern. This is more
explicit and matches the pattern in utilities.ts:4703 where it checks
`p.name.kind === SyntaxKind.Identifier`.
Co-authored-by: jakebailey <[email protected]>1 parent 093a1e0 commit adaae60
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30398 | 30398 | | |
30399 | 30399 | | |
30400 | 30400 | | |
30401 | | - | |
30402 | | - | |
| 30401 | + | |
| 30402 | + | |
30403 | 30403 | | |
30404 | 30404 | | |
30405 | 30405 | | |
| |||
0 commit comments