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
How to document properties with colon? #2094
Comments
/**
* @typedef {{
* 'dc:creator': string
* }} XMLChannel
*/ |
Yeah but I'd have to make a seperate typedef just for this property or change all of my other types to use this inline I was hoping that there was a way to declare the property without changing the type syntax everywhere. If anyone knows of a way, please do send it my way! Thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I recently have to work with RSS/XML objects that have colons in the property name e.g.
dc:creator
. How is this expressed in JSDocs? Whenever I try addingdc:creator
to typed object, it's not recognized.Input code
Expected behavior
Output and support by JSDoc integrated tools like VSCode
Current behavior
Outputs nothing + causes error in JSDoc supported tools like VSCode
The text was updated successfully, but these errors were encountered: