You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When enabling typescript for my node-pty usage - I am now seeing a waring that 'ptyProcess.on' is deprecated. However, it suggests no alternative, and I see that syntax used in the README.. So is my editor wrong or are the docs outdated?
The text was updated successfully, but these errors were encountered:
See my idea here microsoft#552
Seems like the deprecated syntax needs updated from `ptyProcess.on('data', function (data) {` -> to -> `ptyProcess.onData((data: any) => {`
Environment details
Issue description
When enabling typescript for my node-pty usage - I am now seeing a waring that
'ptyProcess.on' is deprecated
. However, it suggests no alternative, and I see that syntax used in the README.. So is my editor wrong or are the docs outdated?The text was updated successfully, but these errors were encountered: