Skip to content

Immutable size / length ?? #14

@bleucitron

Description

@bleucitron

in server/src/main.js, i try to log the size of an Immutable List<BinData>.

console.log('SAVING BIIIIIIIIINS !!!', data.action.bins.length, data.action.bins.size);

I get a TS warning: server/src/main.ts(46,60): error TS2339: Property 'length' does not exist on type 'List<BinData>'.
The length outputs the correct length, while size outputs undefined...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions