Closed
Description
TypeScript Version: 3.2.1-dev.20181127
Search Terms:
Tried Domain: Completion Lists
github label, didn't find a duplicate, there is probably one somewhere...
Code
type ListOrString = 'one' | 'two' | string;
const str: ListOrString = '';// Trigger autocomplete
Expected behavior:
Autocomplete shows
- one
- two
Actual behavior:
Only word suggestions.