use typescript to generate google map class