Sebastien Leclerc Lavallee
05/08/2020, 4:44 AMSean Keane
05/08/2020, 8:20 AMturansky
05/08/2020, 10:14 AMmultiplatform
plugin or js
?Sebastien Leclerc Lavallee
05/08/2020, 1:04 PMSebastien Leclerc Lavallee
05/08/2020, 1:05 PMturansky
05/08/2020, 1:13 PM*.d.ts
as I knowSebastien Leclerc Lavallee
05/08/2020, 1:14 PMturansky
05/08/2020, 1:15 PMSebastien Leclerc Lavallee
05/08/2020, 1:16 PMturansky
05/08/2020, 1:16 PMturansky
05/08/2020, 1:17 PMSo I’d have to create a JS only module that has dependency for my multiplatform target and this would workNot so simple 🙂
turansky
05/08/2020, 1:18 PM@JsExport
annotations analized only for current module nowSebastien Leclerc Lavallee
05/08/2020, 1:25 PMIlya Goncharov [JB]
05/08/2020, 3:31 PMmultiplatform
plugin supports d.ts
generation
@JsExport
works with transitive module (not only current module) too, but only with js
specific sources
Annotation is not accessible in common code now
cc @Svyatoslav Kuzmich [JB]Sebastien Leclerc Lavallee
05/08/2020, 3:34 PMIlya Goncharov [JB]
05/08/2020, 3:36 PM1.4-M1
was released already
Check it out with Kotlin/JS
section
https://blog.jetbrains.com/kotlin/2020/03/kotlin-1-4-m1-released/Svyatoslav Kuzmich [JB]
05/08/2020, 3:39 PMSebastien Leclerc Lavallee
05/08/2020, 3:41 PMSebastien Leclerc Lavallee
05/08/2020, 3:43 PMIlya Goncharov [JB]
05/08/2020, 3:49 PMd.ts
you need new compiler, and it requires new library format
So I am afraid that there are no such waysSebastien Leclerc Lavallee
05/08/2020, 3:50 PM