You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have multiple functions in the same file that share the same call signatures. I created an alias type for the call signatures to avoid repeating myself and reduce the odds of missing a place to update. In vscode, the hint for how to call the function shows all 13 call signatures for the function. I would expect the same behavior in the deno docs. Currently the deno docs just show the rest parameter not expanded.
I just tried that now. It still shows the same but links to the type for ItArgs. I originally didn't export it because I didn't want to add an export for a type that is only used internally. vs code is able to figure out what the call signatures are without exporting the ItArgs type.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/rest_parameters
I have multiple functions in the same file that share the same call signatures. I created an alias type for the call signatures to avoid repeating myself and reduce the odds of missing a place to update. In vscode, the hint for how to call the function shows all 13 call signatures for the function. I would expect the same behavior in the deno docs. Currently the deno docs just show the rest parameter not expanded.
https://doc.deno.land/https://deno.land/x/[email protected]/mod.ts/~/it
Here is a link to the
ItArgs<T>
type.The text was updated successfully, but these errors were encountered: