0
在打字稿中,我試圖實現自定義轉換流。但是當我打電話給super
構造函數options
時,它給我打字稿錯誤supplied parameters do not match any signature of call target
。在Typescript上的Node.js流:提供的參數不匹配任何調用目標的簽名
var Transform = require('stream').Transform
export class Test extends Transform {
constructor(options) {
super(options);
}
}
任何幫助將不勝感激。提前致謝 !!
感謝的人,我知道了。它解決了這個問題。 –