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

docs: putout: add types for function putout #117

Closed
wants to merge 1 commit into from

Conversation

milahu
Copy link

@milahu milahu commented Oct 30, 2022

add jsdoc types for function putout(source, options)
to enable code completion of options

part of #116

@coderaiser
Copy link
Owner

I think about adding separate package @putout/types which will have all the type info, and can be installed separately. What do you think about it?

@milahu
Copy link
Author

milahu commented Oct 31, 2022

imho its better to store types next to code

with jsdoc types, this also works for plain javascript, no need for *.d.ts files

@coderaiser
Copy link
Owner

But it also makes a lot of noise near the code, and doubles required support forces

@coderaiser coderaiser closed this Nov 1, 2022
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

Successfully merging this pull request may close these issues.

2 participants