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

sendDataToProcessId missing from types index.d.ts #3394

Closed
Benjamin-Willard opened this issue Jan 9, 2018 · 2 comments
Closed

sendDataToProcessId missing from types index.d.ts #3394

Benjamin-Willard opened this issue Jan 9, 2018 · 2 comments

Comments

@Benjamin-Willard
Copy link

Your issue may already be reported!
Please search on the issue tracker before creating one.

What's going wrong?

The type definition is missing sendDataToProcessId

How could we reproduce this issue?

Just use typescript and try to use the function you can't without having it throw errors. Error below:

error TS2339: Property 'sendDataToProcessId' does not exist on type 'typeof ...

Supporting information

Please run the following command (available on PM2 >= 2.6)

$ pm2 report
@wallet77
Copy link
Contributor

PM2 2.10.1 has been release:

$ npm install pm2@latest -g
$ pm2 update

@Benjamin-Willard
Copy link
Author

Awesome @wallet77 I really appreciate it. Having sendDataToProcessId warning/error driving me nuts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants