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

Filter out unresolvable types converted from @typedef #1231

Open
egorio opened this issue Aug 8, 2023 · 0 comments
Open

Filter out unresolvable types converted from @typedef #1231

egorio opened this issue Aug 8, 2023 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@egorio
Copy link
Contributor

egorio commented Aug 8, 2023

In the example below, the codefix will generate the interface that breaks the file:

/**
 * @typedef Example
 * @property {string} text1
 * @property {string=} text2
 */

result:

interface Example {
  text1: string;
  text2?: string=;
}

We need to check if generated type (or even each property) can be resolved and filter out in the case it can't.

@egorio egorio added bug Something isn't working enhancement New feature or request and removed bug Something isn't working enhancement New feature or request labels Aug 14, 2023
@egorio egorio added this to the Self Service milestone Aug 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant