TypeScript autocompletion with literal type parameters and overloads
I want to define a function that can only be called with a specific combination of parameters and to get proper autocompletion for each parameter. A simplified example is this:
TypeScript autocompletion with literal type parameters and overrides
I want to define a function that can only be called with a specific combination of parameters and to get proper autocompletion for each parameter. A simplified example is this: