spotify-web-api-ts-sdk search compilation error, expected 0 arguments got 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
typescript is giving an inaccurate compilation error for use of spotify-web-api-ts-sdk, `expected 0 arguments, but got 2` for `SpotifyApi`.`search` from spotify-web-api-ts-sdk. Note that in the screenshot, the `search` function is defined with arguments as expected (see the console output), the request is actually being made (see the network tab and `initiator` column), and the results are even being rendered (if you can see behind the compilation error overlay to the webpage behind). can anyone help me figure out why typescript is wrongly giving this compilation error?
Labels:
- Labels:
-
Possible Bug

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page