You're right! I've never thought of this before.
I like the second solution you provided, it is a lot like defining a new interface, but at least you don't have to create a new file each time.
The first solution is kind of defeating the purpose, but as you said, it's a matter of what you're solving.
Thanks for your input and I'll definitely utilize your solution!
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.