begin using typescript