Skip to content

tuples: length is not checked #227

@gcanti

Description

@gcanti

A tuple shouldn't be a fixed-length array?

/* @flow */

var x1: [string, string] = ['a', 'b']; // ok
var x2: [string, string] = ['a']; // ok, should be ko

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