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

JSDoc implements space sensetive #60592

Open
VanillaMaster opened this issue Nov 25, 2024 · 0 comments Β· May be fixed by #60640
Open

JSDoc implements space sensetive #60592

VanillaMaster opened this issue Nov 25, 2024 · 0 comments Β· May be fixed by #60640
Assignees
Labels
Domain: JSDoc Relates to JSDoc parsing and type generation Needs Investigation This issue needs a team member to investigate its status.

Comments

@VanillaMaster
Copy link

πŸ”Ž Search Terms

JSDoc
implements
space
'}' expected

πŸ•— Version & Regression Information

This is the behavior in every version I tried

⏯ Playground Link

https://www.typescriptlang.org/play/?jsx=0&module=0&ts=5.5.4&filetype=js#code/PQKhCgAIUgBAXAngBwKYBNUDNIG8+RYD2RAXJAM7wBOAlgHYDmkAvq5AGIlQjDigRocWgFtkAG1QjU9eBQJci7YMEgAeALQbIAchY7IqAB5oAxvAwA6Hn1PiAhhXkAhe9TxRIX4koC8kACIAFgAmAIBucBYgA

πŸ’» Code

/**
 * @typedef { { foo: string } } Foo
 */
/**
 * @implements { Foo } // <-- '}' expected.
 */
class Bar {
    foo = "42";
}

πŸ™ Actual behavior

'}' expected

πŸ™‚ Expected behavior

alow using whitespaces like in every other jsdoc tag

Additional information about the issue

No response

@RyanCavanaugh RyanCavanaugh added the Needs Investigation This issue needs a team member to investigate its status. label Nov 27, 2024
@RyanCavanaugh RyanCavanaugh added the Domain: JSDoc Relates to JSDoc parsing and type generation label Nov 27, 2024
@a-tarasyuk a-tarasyuk linked a pull request Nov 29, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Domain: JSDoc Relates to JSDoc parsing and type generation Needs Investigation This issue needs a team member to investigate its status.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants