Skip to content
This repository has been archived by the owner on Mar 8, 2019. It is now read-only.

feat: resolve body of default function arrow functions #82

Merged
merged 5 commits into from
Jan 22, 2019

Conversation

elevatebart
Copy link
Member

When we have

props:{
  myProp:{
    default: () => ({
        data: 2
      })
  }
}

the output now is

{
  defaultValue: {
    value: ()=> ({data:2})
  }
}

and should be

{
  defaultValue: {
    value: {data:2}
  }
}

@elevatebart elevatebart merged commit ab57dfa into master Jan 22, 2019
@elevatebart elevatebart deleted the feat-defaultAsFunction branch January 22, 2019 18:30
@vue-styleguidist-bot
Copy link
Collaborator

🎉 This PR is included in version 3.3.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants