fixed missing type information when generating CrossPlatform clients