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
{{ message }}
This repository has been archived by the owner on Jul 8, 2023. It is now read-only.
That's pretty cool! Do you know if there's any way to write an automated test that checks that this definition is correct? I don't have any experience with Hack, but I'm happy to update the HHVM Travis build for this repo.
I suppose you could write a unit test in Hack that passes the type checker using the .hhi file and also runs correctly on HHVM against the PHP code. That would effectively test that the type definition and PHP code correspond.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
For usage with Hack, a
.hhi
file containing this somewhere in the repo should suffice:The text was updated successfully, but these errors were encountered: