Summary: Pull Request resolved: https://github.com/facebook/yoga/pull/1198 The Yoga JS bindings converted a previous Flow type directly to TypeScript. The enum types we expose are safer than accepting raw ordinal numbers, and we should replace the places in the typings where an ordinal was accepted instead of the specific type. Reviewed By: cipolleschi Differential Revision: D42265824 fbshipit-source-id: 6adcf24a612e79037fdceab0e9f6e4db09fe3ab2