Skip to content

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

@Gavin-YYC

Description

@Gavin-YYC

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

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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions