number
number copied to clipboard
Update `number_to_phone/2` typespec
The type spec indicated the function only took a number but it also accepts a string. This is expressed in the documentation and tested. This commit just updates the spec to reflect that.
@danielberkompas Any chance you can merge this? It's a quick PR that fixes a bug that cascades through our system, creating some painful Dialyzer experiences.
Just bumping this again. @danielberkompas would it be possible to cut a patch-level release with this in it? 🙏🏻
Yes, working on it now. 🌟 Thanks!