While working in typescript, I encountered an issue while trying to implement a custom transform stream. The error message I received was
supplied parameters do not match any signature of call target
, specifically when calling the super
constructor with the options
parameter.
var Transform = require('stream').Transform
export class Test extends Transform {
constructor(options) {
super(options);
}
}
Any assistance on this matter would be greatly appreciated. Thank you in advance!