Skip to content

forEach循环或map循环支持引用 #101

Description

@Gavin-YYC

目前还不支持这种写法,希望可以支持:

const data = [
    {a: 1},
    {a: 2}
];

data.forEach((item: TestItem) => {
    item.b = 22;
});

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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