Skip to content

Commit

Permalink
Merge branch 'main' into tyriar/v1
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyriar authored Jun 9, 2023
2 parents 0d1edae + 236dd43 commit a18374f
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions typings/node-pty.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -146,23 +146,6 @@ declare module 'node-pty' {
*/
readonly onExit: IEvent<{ exitCode: number, signal?: number }>;

/**
* Adds a listener to the data event, fired when data is returned from the pty.
* @param event The name of the event.
* @param listener The callback function.
* @deprecated Use IPty.onData
*/
on(event: 'data', listener: (data: string) => void): void;

/**
* Adds a listener to the exit event, fired when the pty exits.
* @param event The name of the event.
* @param listener The callback function, exitCode is the exit code of the process and signal is
* the signal that triggered the exit. signal is not supported on Windows.
* @deprecated Use IPty.onExit
*/
on(event: 'exit', listener: (exitCode: number, signal?: number) => void): void;

/**
* Resizes the dimensions of the pty.
* @param columns The number of columns to use.
Expand Down

0 comments on commit a18374f

Please sign in to comment.