No, it's not an alias, they are distinct types. You can't use the types interchangeably (unless you cast them).
Your playground example didn't try to pass a UserID to a function accepting a PostID, but if you do that, you'll see the error:
Your playground example didn't try to pass a UserID to a function accepting a PostID, but if you do that, you'll see the error:
No comments yet.