Cleared 1m ago · OpenRailAssociation/netzgrafik-editor-frontend #1209 · TypeScript · ★ 86 · Apache-2.0

Make Vec2D immutable

Right now Vec2D exposes setters. This means that a Vec2D instance can have its meaning change over the course of time. This can lead to hard-to-debug situations and result in bugs. As another data point, Date also has setters and the new Temporal API only exposes immutable…

What we checked

Similar unclaimed issues