In 2.2.20-Beta2 there will be some useful/interest...
# javascript
e
In 2.2.20-Beta2 there will be some useful/interesting fixes and features. • KT-71533 suppressible error when using
KClass.qualifiedName
, as it's not supported for JS and WASM yet • KT-54689 better perf for data classes'
equals
KT-57128
BigInt
-backed
Long
implementation • KT-78316 Kotlin collection types correctly exports to TS types when used as generic type parameters • KT-77319 when exporting to ESM with TS types,
.d.ts
becomes
.d.mts
KT-75480 shared
webMain/webTest
source set between JS and WASM
💯 3
l
Bigint
support would be great to have, will remove lots of custom code written to work around it for us. After this only thing left in our project having which would remove lot of custom code for us would be
@JsExport
support for
suspend
functions.
j
e
Yeah, I think it's enabled for ES2015 because it's what we got at the moment.
Maybe once the SWC part is delivered, all other ES targets will be available, 2020 included.
j
That's a pretty broken design. I wouldn't expect Java 12 features to be used when I'm targeting Java 8 because most people are probably using something newer.
e
Worth adding a comment on the issue, tho Sebastien Doeraene already mentioned it.
j
No that's worth its own issue
e
Sounds good to me. Could you link it here if you open it?
j
e
@broadway_lamb just fyi
👀 1
j
Heh, I just realized that
equals
issue was one I filed forever ago. Nice to see that fixed.
1