Bug Fixes do not transform mask-type (#673) (6e58f2c), closes #643 use .ts extension for generated index (#670) (d19abe2), closes #462