Update packages/@romejs/js-compiler/transforms/lint/noShadowRestrictedNames.ts
MODIFY
packages/@romejs/js-compiler/transforms/lint/noShadowRestrictedNames.ts
packages/@romejs/js-compiler/transforms/lint/noShadowRestrictedNames.ts
@@ -24,7 +24,7 @@ function extractBindingIdentifiers(
| FunctionDeclaration
| FunctionExpression
| CatchClause,
-): BindingIdentifier[] {
+): Array<BindingIdentifier> {
if (
node.type === 'FunctionDeclaration' ||
node.type === 'FunctionExpression'

Update packages/@romejs/js-compiler/transforms/lint/noShadowRestrictedNames.ts

Co-Authored-By: Sebastian <853712+sebmck@users.noreply.github.com>