I am working with a third party library and am trying to do some abstractions and am running into an issue with a method that accepts varargs but is not using type ascription. Something like:
def outer(otherStuff:String*): Unit ={
if(someCondition)
methodInThirdPartyLibrary(otherStuff)
// other code....
}
def methodInThirdPartyLibrary(stuff:String*): Unit ={
println(stuff.mkString(","))
}
Given how the library has the method setup is there any way for me to pass in the arguments?