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 named export variable declaration destructuring #2

Conversation

jaydenseric
Copy link
Owner

Fixes #1 .

@jaydenseric jaydenseric added the bug Something isn't working label Nov 20, 2020
@jaydenseric
Copy link
Owner Author

Here is what I've been messing around with in AST explorer:

export const a = true;
export var b, c, d = true;
export const { e, f: i } = { e: true, f: true };
export const [g, h] = [true, true];
export const [, j] = [true, true];
export const { k, l: { m: [n]} } = { k: true, l: { m: [true] } };
export const { o, ...p } = { o: true, b: true, c: true };
export const [, ...q] = [1, 2];

@jaydenseric jaydenseric force-pushed the jaydenseric/support-named-export-variable-declaration-destructuring branch from 6d6a239 to 79a6855 Compare November 21, 2020 03:29
@jaydenseric jaydenseric marked this pull request as ready for review November 21, 2020 03:42
@jaydenseric jaydenseric merged commit 5a2a06f into master Nov 21, 2020
@jaydenseric jaydenseric deleted the jaydenseric/support-named-export-variable-declaration-destructuring branch November 21, 2020 04:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Possible false positive bug with destructured named exports
2 participants