fix(47562): Add option to suppress type hint if variable name matches type name (#48529)

* fix(47562): Add option to suppress type hint if variable name matches type

* Remove the unnecessary debug code

* Re-run gulp runtests

* Use equateStringsCaseInsensitive to compare strings
This commit is contained in:
Huy authored and GitHub committed 2022-05-25 12:07:38 -07:00
1 parent b57d6e1df4
commit 1fb2b2d70f
7 files changed
+38 -4

No files matched your search

+1
View File
@@ -8813,6 +8813,7 @@ namespace ts {
readonly includeInlayParameterNameHintsWhenArgumentMatchesName?: boolean;
readonly includeInlayFunctionParameterTypeHints?: boolean,
readonly includeInlayVariableTypeHints?: boolean;
readonly includeInlayVariableTypeHintsWhenTypeMatchesName?: boolean;
readonly includeInlayPropertyDeclarationTypeHints?: boolean;
readonly includeInlayFunctionLikeReturnTypeHints?: boolean;
readonly includeInlayEnumMemberValueHints?: boolean;