Skip to content

Conversation

zlorf
Copy link

@zlorf zlorf commented Apr 19, 2020

This worked as expected:

  methods: {
    ...mapActions({ initStoreGroup: 'initStoreGroup' }),
  }

but this failed with message Spread types may only be created from object types:

  methods: {
    ...mapActions(['initStoreGroup']),
  }

Commit fixes the problems.

This worked as expected:
```
  methods: {
    ...mapActions({ initStoreGroup: 'initStoreGroup' }),
  }
```
but this failed with message `Spread types may only be created from object types`:
```
  methods: {
    ...mapActions(['initStoreGroup']),
  }
```

Commit fixes the problems.
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.

1 participant