Adding IDE json functionality to hh_single_typecheck
commit7abc909c02a4e236d6d78a4167ca91fec02cdd69
authorEesha Shekhar <eeshashekhar@fb.com>
Thu, 28 Jul 2022 19:12:45 +0000 (28 12:12 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Thu, 28 Jul 2022 19:12:45 +0000 (28 12:12 -0700)
treeb2be2e43e3f4a248a92a7dd709abf16c13eaea0c
parent16d4328fdc80b7eed78266fe47f4e4291445e702
Adding IDE json functionality to hh_single_typecheck

Summary: Added --json to hh_single_typecheck to be able to test for quickfixes in the future.

Reviewed By: Wilfred

Differential Revision: D38136162

fbshipit-source-id: e1b7471b034f5063140a4d259f5e838759e9b551
hphp/hack/src/hh_single_type_check.ml
hphp/hack/src/server/serverLintTypes.ml
hphp/hack/test/json/run_json_on_file.php [new file with mode: 0644]
hphp/hack/test/json/run_json_on_file.php.exp [new file with mode: 0644]