Closed alpha-tango-kilo closed 2 years ago
Upon further usage, it seems the same seems to apply for all the different output options - they all say they're going to return string
File was lifted from https://github.com/DefinitelyTyped/DefinitelyTyped; I didn't write it. Feel free to open a PR with fix or updated from that repo.
@avoidwork do you know even whatsapp web uses your code?
@bhavya32 cool; i didn't.
Using TypeScript, I'm told that the following will return a string, which isn't correct:
What I expect to be able to do:
Current workaround:
For clarity, it is actually an object that gets returned, just the type declarations are telling me I'm going to get a string