Edoardo Luppi
08/03/2023, 1:06 PMentries(): IterableIterator<[number, number]>
Could that be a
open fun entries(): IterableIterator<Pair<Number, Number>>
? Or should it be an array?Artem Kobzar
08/03/2023, 1:12 PMIterableIterator.
In JS, IterableIterator it's an object which provide both [Symbol.iterator] and next methods.Artem Kobzar
08/03/2023, 1:13 PMJsIterable type that placed in kotlin-wrappersEdoardo Luppi
08/03/2023, 1:32 PMIterableIterator is a recent addition in Kotlin Wrappers thenturansky
08/03/2023, 2:45 PMentries(): IterableIterator<[number, number]>
Kotlin
entries(): IterableIterator<JsTuple2<Number, Number>>turansky
08/03/2023, 2:47 PMI thinkIt’s old 🙂is a recent addition in Kotlin Wrappers thenIterableIterator
turansky
08/03/2023, 2:49 PMEdoardo Luppi
08/03/2023, 2:51 PMEvery day I learn something new lolCopy codeJsTuple
turansky
08/03/2023, 2:55 PMtupleOf - factory methodEdoardo Luppi
08/03/2023, 2:58 PMemptyTuple ?turansky
08/03/2023, 3:27 PMEventEmmiter.on async iteratorturansky
08/03/2023, 8:02 PMEvery day I learn something new lolAll JS and TS types, which you need for strict declarations are already here