skip last argument if it's type arguments
Implement ClassDeclaration.objectValue #508 in JS