Export types from scala to Typescript