-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Class 'Tuntap' incorrectly implements interface 'TuntapI' #16
Comments
@PupilTong Do you perhaps have a suggestion? Could you leave out "extends Duplex"? What did you think? |
Could u please inspect which interface requires these implementation? Thank! |
Hello @PupilTong,
.... The "ReadableBase" has more implemented methods. I can all implement with an Exception. What did you think? Next problem, i add the method:
ArrayOptions is unknow and has none export by stream.d.ts .... It seems to me that the types are faulty. But I can't judge that because I haven't found an example that extends "Duplex". I have now written "// @ts-ignore" at the top of the class. |
With the "// @ts-ignore I can perform my deployment again. |
With the update to the latest 18.x version of nodejs ("@types/node": "^18.19.33",) there were many new methods in the interface. Could you clarify this issue?
These come from the duplex interface:
export interface TuntapI extends Duplex
The text was updated successfully, but these errors were encountered: