Handle abstracts.
Merge pull request #3106 from back2dos/patch-1

Handle abstracts in ExampleJsGenerator::getType.