Dimensions
Dimensions copied to clipboard
Consider using Opaque types for better type safety
Certain types like player id nanoids and Agent.ID are effectively just strings or numbers, leading to lower type safety in typescript as it won't catch errors when perhaps a player id is not used in the right place.
https://codemix.com/opaque-types-in-javascript/