Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit bd6f08b

Browse filesBrowse files
committed
left a comment
1 parent 6caeb43 commit bd6f08b
Copy full SHA for bd6f08b

File tree

Expand file treeCollapse file tree

1 file changed

+1
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-0
lines changed

‎packages/eslint-plugin/src/rules/no-unnecessary-type-parameters.ts

Copy file name to clipboardExpand all lines: packages/eslint-plugin/src/rules/no-unnecessary-type-parameters.ts
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,7 @@ function collectTypeParameterUsageCounts(
257257
visitType(
258258
typeArgument,
259259
!['Array', 'ReadonlyArray'].includes(
260+
// it seems that type.symbol is not always defined
260261
(type.symbol as ts.Symbol | undefined)?.escapedName ??
261262
('' as string),
262263
),

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.