Closed j-gibweb closed 5 years ago
Hi @j-gibweb, this is quite odd... Are the type definitions coming from DefinitelyTyped? They definitely import the stream classes from fs
.
@mike-marcacci the definitions are indeed coming from DefinitelyTyped
poking around a bit more I see the version of fs
being referenced is from "@types/node@7.10.7"- is this expected?
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?
This has mysteriously been resolved 😞 - Thanks for being so responsive
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