Input array of multiple types

I am attempting to wrap multiQC which accepts and arbitrary number of files and folders as inputs. The issue I am having is being able to pass a mix of files and directories as arrays to the tool. One method would be having separate inputs for each type but this seems not the most ideal way.

Hey Evan, can you post what you have so far? Is is type: [ Directory[], File[] ] or something more complicated?