scala-js-dom icon indicating copy to clipboard operation
scala-js-dom copied to clipboard

Typo in "WriteableStream" trait name?

Open raquo opened this issue 2 years ago • 1 comments

It seems that the native interface is actually called WritableStream, however Scala trait name has an extra e character in it.

I'm not familiar with this API, the trait is not JSGlobal, and I don't actually see how one could get instances of this trait in scala-js-dom, but nevertheless it should probably match the native name?

raquo avatar Dec 29 '22 07:12 raquo

Thanks, this indeed seems like a mistake :( there are actually many issues with those facades, see https://github.com/scala-js/scala-js-dom/issues/629.

I don't think we can fix this binary-compatibly. Maybe we can add a type alias with the correct name.

armanbilge avatar Dec 29 '22 12:12 armanbilge