Make private property private instead of underscore-prefixed
Author: jdeniauCreated Sep 15, 2025Updated Nov 27, 2025
In the codebase, we have a lot of underscore-prefixed property.
We should use private elements whenever possible, and TS protected modifier when we need class extension.
That is important, as we are migrating to TS and due to #2056 , otherwise it will expose private property in generated .d.ts.
Source: immutable-js/immutable-js