mongofill / mongofill-hhvm

A mix of the original Mongofill extension + BSON implementation in C++
MIT License
32 stars 19 forks source link

Add HHI files for Hack type checker #14

Open cuchaz opened 9 years ago

cuchaz commented 9 years ago

I just built and installed the mongofill-hhvm extension for my local hhvm server. The extension works great so far, but the Hack type checker (I'm using Hack) seems to have no idea that eg MongoClient exists. I think type definitions are supplied to the Hack type checker through HHI files, although I have no idea how these work. Is it possible to add type definitions to mongofill-hhvm so my Hack code be analyzed by Hack's type checker correctly?