Skip to content

Commit a18374f

Browse files
authored
Merge branch 'main' into tyriar/v1
2 parents 0d1edae + 236dd43 commit a18374f

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

typings/node-pty.d.ts

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -146,23 +146,6 @@ declare module 'node-pty' {
146146
*/
147147
readonly onExit: IEvent<{ exitCode: number, signal?: number }>;
148148

149-
/**
150-
* Adds a listener to the data event, fired when data is returned from the pty.
151-
* @param event The name of the event.
152-
* @param listener The callback function.
153-
* @deprecated Use IPty.onData
154-
*/
155-
on(event: 'data', listener: (data: string) => void): void;
156-
157-
/**
158-
* Adds a listener to the exit event, fired when the pty exits.
159-
* @param event The name of the event.
160-
* @param listener The callback function, exitCode is the exit code of the process and signal is
161-
* the signal that triggered the exit. signal is not supported on Windows.
162-
* @deprecated Use IPty.onExit
163-
*/
164-
on(event: 'exit', listener: (exitCode: number, signal?: number) => void): void;
165-
166149
/**
167150
* Resizes the dimensions of the pty.
168151
* @param columns The number of columns to use.

0 commit comments

Comments
 (0)