Fix the types, add a types script, and add version script to clean and build types.
Fix the types, add a types script, and add version script to clean and build types.