Having ‘distinct types’ as opposed to ‘typealiases’ is something which is being considered as a future feature using ‘inline classes’ as the vehicle.
Check out this recent topic towards the end.
Having ‘distinct types’ as opposed to ‘typealiases’ is something which is being considered as a future feature using ‘inline classes’ as the vehicle.
Check out this recent topic towards the end.