File tree Expand file tree Collapse file tree 1 file changed +0
-17
lines changed
Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Original file line number Diff line number Diff 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.
You can’t perform that action at this time.
0 commit comments