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

enhancement: support @import tag #233

Open
boneskull opened this issue May 21, 2024 · 0 comments
Open

enhancement: support @import tag #233

boneskull opened this issue May 21, 2024 · 0 comments

Comments

@boneskull
Copy link

boneskull commented May 21, 2024

TS introduces @import in v5.5 beta. 🎉

These tags should be recognized by prettier-plugin-jsdoc and formatted appropriately.

If it's doable, it'd be cool to reformat like so:

/** @import {A} from 'a' */
/** @import {B} from 'b' */
/** @import {B2} from 'b' */
/** @import {B3} from 'b' */

to

/**
 * @import {A} from 'a'
 * @import {
 *   B,
 *   B2,
 *   B3 
 * } from 'b'
 */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant