Skip to content

Dictionary<T> and numeric-keys objects #30

@artaommahe

Description

@artaommahe

Dictionary interface defined as

interface Dictionary<T> {
  [index: string]: T;
}

this produce error with numeric-keys objects for any method that takes Dictionary (e.g. find, map, filter, etc)

interface ISomeList {
  [index: number]: any;
}

Metadata

Metadata

Assignees

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