We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When running ps-tree on a Mac, the resulting array looks as follows:
[ { PPID: '65302', PID: '65304', STAT: 'S+', COMM: '/usr/local/Cellar/node/15.5.1/bin/node' } ]
The type definition (done by @alessiopcc) does thus not work: https://github.com/DefinitelyTyped/DefinitelyTyped/blob/57293cfddb2e48ff8c7deaa7ee3ac0101d83d014/types/ps-tree/index.d.ts#L8-L13
It would be great, if either the type definition is fixed or if ps-tree returned the same array for Mac as it does for other systems.
I would prefer to have the same type for Mac and others.
The text was updated successfully, but these errors were encountered:
to circumvent that, write an ambient file ps-tree.d.ts with this content:
ps-tree.d.ts
declare namespace ps_tree { interface PS { COMM: string } }
I don't think there's a way to address this besides making PS having both COMMAND and COMM props (marked as optional would better, I guess).
PS
COMMAND
COMM
Sorry, something went wrong.
No branches or pull requests
When running ps-tree on a Mac, the resulting array looks as follows:
The type definition (done by @alessiopcc) does thus not work:
https://github.com/DefinitelyTyped/DefinitelyTyped/blob/57293cfddb2e48ff8c7deaa7ee3ac0101d83d014/types/ps-tree/index.d.ts#L8-L13
It would be great, if either the type definition is fixed or if ps-tree returned the same array for Mac as it does for other systems.
I would prefer to have the same type for Mac and others.
The text was updated successfully, but these errors were encountered: