Skip to content

The TypeScript definition files incorrectly specifies the map* functions as named exports. #1274

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

Closed
ciddan opened this issue May 18, 2018 · 1 comment
Labels
bug Something isn't working types Related to typings only

Comments

@ciddan
Copy link

ciddan commented May 18, 2018

Version

3.0.1

Reproduction link

https://github.com/ciddan/vuex-ts-issue

Steps to reproduce

Reproduction of an issue with the TypeScript type definitions in Vuex.

  1. Clone the provided repository.
  2. run npm install
  3. run npm start
  4. Open browser and go to http://localhost:8080.
  5. Open dev tools and look at the console output.

What is expected?

That the first log output: mapActions from: import { mapActions } undefined isn't undefined.

What is actually happening?

mapActions is undefined.


Please read the README in the linked repository for full information on the issue.

We ran into this issue while working on TypeScript decorators that required the use of the various map functions.

@LinusBorg LinusBorg added bug Something isn't working types Related to typings only labels Jul 30, 2018
@ktsn
Copy link
Member

ktsn commented Sep 27, 2018

fixed via #1408

@ktsn ktsn closed this as completed Sep 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working types Related to typings only
Projects
None yet
Development

No branches or pull requests

3 participants