Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add support for JS interop members with symbol names #61413

@nex3

Description

@nex3

It's relatively common in JS to use symbols (JSSymbol in Dart terms) as member names. This is often used for interface-like functionality like iterables, disposables, and so on. Currently there's no way to define static JS interop members with symbols as names, which makes it difficult to interact with certain JS idioms. Although it's possible to work around this using dart:js_interop_unsafe, it would be useful to make these definitions possible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-web-jsIssues related to JavaScript support for Dart Web, including DDC, dart2js, and JS interop.web-js-interopIssues that impact all js interop

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions