So I want to wrap a function with a promise. I don’t need the reject function, just need the resolve.
However, the JS.Promise.make requires a function that takes two named arguments. If I don’t take the second named argument, it fails to compile, and if I add it and I don’t use it, I get a warning about an unused parameter:
How can I safely ignore that argument? And please don’t suggest me to install a third party dependency just for this only line on the entire project