exploratory programming of typescript