mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Further simplification
This commit is contained in:
1 parent
e08f8d263f
commit
24437774a8
7 files changed
+77
-66
No files matched your search
@@ -1137,7 +1137,7 @@ namespace ts.refactor.extractSymbol {
|
||||
{type: type1, declaration: declaration1}: {type: Type, declaration?: Declaration},
|
||||
{type: type2, declaration: declaration2}: {type: Type, declaration?: Declaration}) {
|
||||
|
||||
return compareProperties(declaration1, declaration2, "pos")
|
||||
return compareProperties(declaration1, declaration2, "pos", compareValues)
|
||||
|| compareStringsCaseSensitive(
|
||||
type1.symbol ? type1.symbol.getName() : "",
|
||||
type2.symbol ? type2.symbol.getName() : "")
|
||||
|
||||
Reference in new issue
Block a user