ADDED: typescript support