Skip to content

Commit f018b8e

Browse files
Use getSymbolId instead of converting to string
Co-authored-by: Andrew Branch <[email protected]>
1 parent cdd40d3 commit f018b8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/codefixes/addOptionalPropertyUndefined.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ namespace ts.codefix {
3232
}
3333
let untouched = true;
3434
for (const add of toAdd) {
35-
if (!addToSeen(seen, add.id + "")) {
35+
if (!addToSeen(seen, getSymbolId(add) + "")) {
3636
untouched = false;
3737
}
3838
}

0 commit comments

Comments
 (0)