How to Use Named Parameters in TypeScript
Basically just use an interface to differentiate between the two