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

Nested TypeScript types #131

Open
dannyfritz opened this issue Jan 20, 2021 · 1 comment
Open

Nested TypeScript types #131

dannyfritz opened this issue Jan 20, 2021 · 1 comment
Labels

Comments

@dannyfritz
Copy link

dannyfritz commented Jan 20, 2021

I'm having trouble with jsdoc/valid-types in regards to nested TypeScript types:

/**
 * @param {import('../../..').PickListState['data']} data
 */
error  Syntax error in type: import('../../..').PickListState['data'] jsdoc/valid-types

The problem is from the ['data'] accessor. TypeScript is okay with it, jsdoctypeparser is not.

I'm open to doing the PR for this work if I'm given a pointer on where to look.

@brettz9
Copy link
Contributor

brettz9 commented Jan 20, 2021

If you (or someone) could help with semantic-release, I just wasn't having any luck with it, and am limited in being able to really dig in. #122 (comment) . It'd be great if we can get this resolved, so the normal pattern of incremental improvements can continue... (including the goal to integrate more from catharsis, jsdoc's own parser, but a parser which is not TS-aware).

That would be the bigger priority really, since we can't put out new releases so easily (or would depend on @sandersn to manually do so).

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

No branches or pull requests

2 participants