-
-
Notifications
You must be signed in to change notification settings - Fork 102
Closed
Labels
Description
Hi! I really like the API of Wretch,
but I encountered issue #251 right when I started using it.
It would be fantastic to have autosuggest support.
Being loosely typed shouldn’t prevent the addition of autosuggestions,
here’s a possible example.
type Options = Omit<
RequestInit,
"SomeWretchExcludedOptions1" | "SomeWretchExcludedOptions2"
> & {
SomeWretchOnlyOption1: string
SomeWretchOnlyOption2: number
[otherKey: string]: any
}