Generate typescript definition data