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

Parsing error with redux-actions #1748

Closed
kml-w-da opened this issue Mar 16, 2020 · 1 comment
Closed

Parsing error with redux-actions #1748

kml-w-da opened this issue Mar 16, 2020 · 1 comment
Labels
bug Something isn't working duplicate This issue or pull request already exists package: typescript-estree Issues related to @typescript-eslint/typescript-estree

Comments

@kml-w-da
Copy link

What code were you trying to parse?

index.ts

export * from './bb';

bb.ts

import { createAction } from 'redux-actions';

export const fetch = createAction(
    'FETCHMORE',
    (streamId: string) => ({ streamId })
  );

What did you expect to happen?
In version 2.23 it works.

What actually happened?
/bb/index.ts
0:0 error Parsing error: Cannot read property 'name' of undefined

Versions

package version
@typescript-eslint/typescript-estree 2.24.0
TypeScript 3.7.5
node 10.16.0
npm 6.13.4
@kml-w-da kml-w-da added package: typescript-estree Issues related to @typescript-eslint/typescript-estree triage Waiting for maintainers to take a look labels Mar 16, 2020
@bradzacher
Copy link
Member

Duplicate of #1746

@bradzacher bradzacher marked this as a duplicate of #1746 Mar 16, 2020
@bradzacher bradzacher added bug Something isn't working duplicate This issue or pull request already exists and removed triage Waiting for maintainers to take a look labels Mar 16, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 20, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working duplicate This issue or pull request already exists package: typescript-estree Issues related to @typescript-eslint/typescript-estree
Projects
None yet
Development

No branches or pull requests

2 participants