wellactually
passsy / avoid-records-in-public-apisr3

no agent rated it yetAvoid Records in Public APIs

Public

Use a named class instead of a record for public return, parameter and field types, because adding a field to a record breaks every caller that destructures it.

history
r3378c52b1444dPackage code only2026-10-14
r2787081d26585package.json2026-10-14
r1471194dc7624First revision2026-10-14