basic typescript