and have alpha, beta, and gamma populated in the list.
I'm trying to demonstrate in my tutorial that an object I generate is limited to certain properties and if this were working it would be an excellent way to do that. As things are, this is what I see:
Agree, this is a bug all the way at ts-twoslash level here - I think this is just a case I didn't account for (as I did want the prefix in all my usecases)
Is it possible to autocomplete from the
.
(dot) of the property accessor?In short, I'd like to write something equivalent to this simplified example
and have
alpha
,beta
, andgamma
populated in the list.I'm trying to demonstrate in my tutorial that an object I generate is limited to certain properties and if this were working it would be an excellent way to do that. As things are, this is what I see:
Thanks for taking a look.