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
I'm not sure I understand why the classes are namespaced under tty instead of fs like you have in the module, its probably local to my machine? or not? idk, but ReadStream / WriteStream from fs are interfaces, hence the error
- import { ReadStream as FSReadStream, WriteStream as FSWriteStream } from "fs";
+ import { ReadStream as FSReadStream, WriteStream as FSWriteStream } from "tty";
Any insight would be great, thanks
This is from version 2.0.0
The text was updated successfully, but these errors were encountered:
Hmm, definitely not... the library definition specifies /// <reference types="node" /> so I'm curious if you have something else specifying that version of node in your typescript config?
I'm not sure I understand why the classes are namespaced under
tty
instead offs
like you have in the module, its probably local to my machine? or not? idk, butReadStream
/WriteStream
fromfs
are interfaces, hence the errorAny insight would be great, thanks
This is from version 2.0.0
The text was updated successfully, but these errors were encountered: