Skip to content

Rule: no-tuple #95

@igorkamyshev

Description

@igorkamyshev
sample({ source: { a: $a, b: $b } })

sample({ source: [$a, $b] })

Object form is stricter, than tuple form because:

  • it is sustainable against order changing
  • it is providing more useful types (no [string, string]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions