Skip to content

Wrong Type Definitions for Mac #48

@UncleSamSwiss

Description

@UncleSamSwiss

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions