You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fixUnusedIdentifier: Don't remove parameter in override or non-last parameter in callback (microsoft#24306)
* fixUnusedIdentifier: Don't remove parameter in override or non-last parameter in callback
* Only allow removing last parameters; don't care about contextual type
* Find symbol of the given property-name and add the symbol to the given result array
1404
-
* @param symbol a symbol to start searching for the given propertyName
1405
-
* @param propertyName a name of property to search for
1406
-
* @param result an array of symbol of found property symbols
1407
-
* @param previousIterationSymbolsCache a cache of symbol from previous iterations of calling this function to prevent infinite revisiting of the same symbol.
1408
-
* The value of previousIterationSymbol is undefined when the function is first called.
Copy file name to clipboardExpand all lines: src/services/utilities.ts
+32Lines changed: 32 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1293,6 +1293,38 @@ namespace ts {
1293
1293
returnpropSymbol;
1294
1294
}
1295
1295
1296
+
/**
1297
+
* Find symbol of the given property-name and add the symbol to the given result array
1298
+
* @param symbol a symbol to start searching for the given propertyName
1299
+
* @param propertyName a name of property to search for
1300
+
* @param result an array of symbol of found property symbols
1301
+
* @param previousIterationSymbolsCache a cache of symbol from previous iterations of calling this function to prevent infinite revisiting of the same symbol.
1302
+
* The value of previousIterationSymbol is undefined when the function is first called.
0 commit comments