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

feat(typescript): support ObjectPattern #43

Merged
merged 1 commit into from
Sep 13, 2020

Conversation

tyankatsu0105
Copy link
Owner

@tyankatsu0105 tyankatsu0105 commented Sep 13, 2020

support ObjectPattern
https://astexplorer.net/#/gist/2497d37f832d9aa8f8f5c9c4c413ad10/fcdf8fd6c2975669b9567d051974b8510a795954

export const {
  fn1,
  fn2,
  prop: {
    insideFn: { fn3 }
  }
} = includeSomeFn;

exportItems is [fn1, fn2, fn3]

@tyankatsu0105 tyankatsu0105 merged commit 3fdc74e into master Sep 13, 2020
@tyankatsu0105 tyankatsu0105 deleted the feat/support-objectPattern branch September 13, 2020 08:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant