Mark HH\type_structure_for_alias for autoimport
commit4e0c9e1edb6a30004b72b8837b0aa5728dd2440a
authorMike Qian <mqian@meta.com>
Wed, 28 Sep 2022 01:28:24 +0000 (27 18:28 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Wed, 28 Sep 2022 01:28:24 +0000 (27 18:28 -0700)
tree2eac0fd9d327143f838fc4bb2ce5df1cffaccbac
parent0b6f6aff2a1aae85235dc90db1c006f6663c9c6f
Mark HH\type_structure_for_alias for autoimport

Summary: Make this easier to use without the `HH\` prefix.

Reviewed By: rodmk

Differential Revision: D39681624

fbshipit-source-id: ea15a9bf6d70d5c3cd0b476917e337ba8955bafa
hphp/hack/src/parser/hh_autoimport.ml
hphp/hack/src/parser/hh_autoimport.rs
hphp/hack/test/typecheck/type_structure/type_structure_for_alias.php
hphp/test/slow/type_annotation/type_structure_for_alias.php
hphp/test/slow/type_annotation/type_structure_for_alias.php.expectf