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
note that it's not required that you declare type parameters.
In general - we are lazy and avoid declaring the type arguments if there are no options (example).
If there are no options then TS can infer [] as the options type, and it can infer the messageIds from the object literal definition.
Ideally as well you wouldn't ever need to declare two parameters... but that's a problem with TS (there's no way to tell TS "use this explicit generic and infer the second generic) :(
Originally posted by @bradzacher in #197 (comment)
The text was updated successfully, but these errors were encountered: