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
options gets highlighted by TypeScript with the error
Argument of type 'ApiComparePagesParams' is not assignable to parameter of type 'UnknownApiParams'.
Index signature for type 'string' is missing in type 'ApiComparePagesParams'.ts(2345)
The text was updated successfully, but these errors were encountered:
jwbth
changed the title
What is the supposed workflow when using API parameter types?
What is the supposed workflow when using parameter types for API calls?
Jan 4, 2025
Let's say I want to make sure the parameters I use for my calls to a certain API comply with the contract. What is my workflow for that?
E.g. when I do
options
gets highlighted by TypeScript with the errorIndeed, there is no index signature in the
ApiComparePagesParams
interface.UnknownApiParams
istypes-mediawiki/mw/Api.d.ts
Line 19 in d050e22
The text was updated successfully, but these errors were encountered: