type-lenses icon indicating copy to clipboard operation
type-lenses copied to clipboard

Autocomplete when typing lens

Open michaelKurowski opened this issue 11 months ago • 4 comments

I know that this solution is already based on a likely tricky implementation of free types, but is it possible to have autocomplete when typing lens directly inside a focusing generic i.e. Get?

Get<
  ['have', 'autocomplete', 'here', 'since', 'we', 'know', 'the', 'target', 'type'],
  MyType
>

That is if MyType already has MyType['have']['autocomplete']['here']... it could be autocompleted when using needle in the Get generic.

michaelKurowski avatar Aug 04 '23 09:08 michaelKurowski