immutable-js-oss/immutable-js

Typescript definitions: RecordOf has no size property

Closed this issue · 1 comments

From @tareqdayya on Mon, 02 Mar 2020 11:36:11 GMT

The typescript definition files for RecordOf do not list a size property even though the docs demonstrate it being used. As a result, the TS compiler keeps complaining every time i use size on a record.

Copied from original issue: immutable-js#1763

Resolved in #5.