Make Naming.typedef take a NAST and update callers
Summary: As part of the unified AST/types in compilation projects, we want to eventually remove the legacy AST. Before we can do this, we need to update modules that currently use the legacy AST to use the annotated AST (AAST) instead. This diff updates an entry point into the naming.ml module so that callers need to pass in a NAST (a concrete version of an AAST) instead of an AST.
Reviewed By: Wilfred
Differential Revision:
D15333919
fbshipit-source-id:
ee0c748a25fbee9b733bc2d6ef005f2e38195ce3