I have asked this months ago, and im curious to see if since then anyone found a solution for this issue.
My thinking is the following:
Lets say you have a function chooseKeys that takes an object as a first arguemnt, and then you would have after that from 1 to keys.length arguments passed. those arguemnts would be enforced on a type leve that would not be possible to have repeated keys. looking for this on a type level, dont care about the runtime implementation. is this possible at all?