stream-completion-callback-error.ts:11:10 - error SC2020: 'end callbacks with parameters' is part of the standard library types but has no scriptc lowering yet

  10 | sink.write("a", (err) => console.log("written", err));
  11 | sink.end((err?: Error | null) => console.log("ended", err));
     |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  12 | 

  hint: () => void callbacks are supported