add typescript declarations