You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
declarefunctiontest<Textends'a'|'b'>(a: {foo: T[]}): void// Try trigerring the suggestions within the foo array, no suggestionstest({foo: [<cursorhere,ctrl+space>]})// Try trigerring the suggestions within the foo array, only suggestion is 'a'test({foo: ['a',<cursorhere,ctrl+space>]})
π Actual behavior
When the array is empty, there is no suggestions at all
When the array has items, the suggestions are restricted to the items already set in the array
π Expected behavior
In both cases, we should have the full list of suggestions 'a' | 'b'