mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-17 10:31:20 -06:00
Add todo comment to use getDeclaredName
This commit is contained in:
parent
5467e1dfbd
commit
45182b88b0
@ -2817,6 +2817,7 @@ namespace ts {
|
||||
// fo$ <- completion list should contain local name "foo"
|
||||
// }
|
||||
// foo$ <- completion list should not contain "foo"
|
||||
// TODO (yuisu): Use getDeclaredName instead once the functions is rewritten
|
||||
if (displayName === "__function" || displayName === "__class") {
|
||||
displayName = symbol.declarations[0].name.getText();
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user