Adds typescript support