Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support scope type for members of type disjunctions in Typescript #826

Open
pokey opened this issue Jul 4, 2022 · 0 comments
Open

Support scope type for members of type disjunctions in Typescript #826

pokey opened this issue Jul 4, 2022 · 0 comments
Labels
enhancement New feature or request lang-typescript TypeScript/JavaScript grammar support

Comments

@pokey
Copy link
Member

pokey commented Jul 4, 2022

For example

type Foo = Bar | Baz | Bongo;

We'd like to be able to say eg "take item bat", to select Bar, or "take every item bat" to select all 3, and would like to clean up | on removal. Not sure if we want to call this one "item" or something else. Would prob want to impl this one after / as part of #825

Also note that impl might be a bit similar to #707 due to car/cdr-style parse tree

@pokey pokey added the enhancement New feature or request label Jul 4, 2022
@auscompgeek auscompgeek added the lang-typescript TypeScript/JavaScript grammar support label Dec 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request lang-typescript TypeScript/JavaScript grammar support
Projects
None yet
Development

No branches or pull requests

2 participants