Enhances VSCode autocomplete by using a distinct type for strings.
AllowOtherStrings is defined as string & {}, an intersection that behaves
like string but is treated differently by TypeScript's type system for
internal processing. This helps in improving the specificity and relevance of
autocomplete suggestions by potentially prioritizing IntrinsicTypeName
over general string inputs, addressing issues where string type suggestions
might overshadow more useful specific literals.
Enhances VSCode autocomplete by using a distinct type for strings.
AllowOtherStringsis defined asstring & {}, an intersection that behaves likestringbut is treated differently by TypeScript's type system for internal processing. This helps in improving the specificity and relevance of autocomplete suggestions by potentially prioritizingIntrinsicTypeNameover general string inputs, addressing issues wherestringtype suggestions might overshadow more useful specific literals.