Open vlsi opened 4 years ago
I'm adding need research because while you are 100% correct without how the actual definitions look like, typescript definitions are written that way and we need to investigate what its exact set of rules we will rely on for eliminating redundant namespace automatically
https://github.com/Kotlin/kotlinx-nodejs/blob/201d2877be634c0d38cc4ef957d4d58a48903c4f/kotlinx-nodejs/src/stream.stream.module_node.kt#L30
This makes the usage awkward:
stream.internal.finished(...)
JavaScript use is as follows (no
internal
):