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

typings: add a few JSDoc typings for child_process #38951

Closed
wants to merge 2 commits into from
Closed

typings: add a few JSDoc typings for child_process #38951

wants to merge 2 commits into from

Conversation

festiveelephantseal
Copy link
Contributor

Added a few JSDoc typings for the child_process lib module.

@github-actions github-actions bot added child_process Issues and PRs related to the child_process subsystem. needs-ci PRs that need a full CI run. labels Jun 6, 2021
/**
* Spawns a new Node.js insatnce
* using the execPath of the parent process
* @param {string} modulePath
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems this is lacking a definition for the optional parameters (args and options).

/**
* Spawns the new specified excutable file
* as a new process
* @param {string} file
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ditto here (args, options, and callback).

@festiveelephantseal
Copy link
Contributor Author

Just made another commit should fix the mistakes I made. Thank you for reviewing it.

@VoltrexKeyva
Copy link
Member

#38222?

@festiveelephantseal festiveelephantseal deleted the jsdoc-typings branch June 6, 2021 16:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
child_process Issues and PRs related to the child_process subsystem. needs-ci PRs that need a full CI run.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants