Can't transform with ts2kt


#1

Attempting to transform: https://facebook.github.io/immutable-js/
Here’s my command line:

ts2kt -d src/main/kotlin/types/immutable node_modules/immutable/dist/immutable.d.ts

Output:

ts2kt version: 0.1.3
Converting node_modules/immutable/dist/immutable.d.ts
ts2kt: "ComputedPropertyName" kind unsupported yet here! (node_modules/immutable/dist/immutable.d.ts:2587:60 to 2589:22)
ts2kt: "ComputedPropertyName" kind unsupported yet here! (node_modules/immutable/dist/immutable.d.ts:3381:15 to 3383:24)
ts2kt: "ComputedPropertyName" kind unsupported yet here! (node_modules/immutable/dist/immutable.d.ts:3672:15 to 3674:24)
ts2kt: "ComputedPropertyName" kind unsupported yet here! (node_modules/immutable/dist/immutable.d.ts:3775:15 to 3777:24)
Save declarations:
        src/main/kotlin/types/immutable/immutable.Immutable.kt
        src/main/kotlin/types/immutable/immutable.Immutable.Record.kt
        src/main/kotlin/types/immutable/immutable.Immutable.Seq.kt
        src/main/kotlin/types/immutable/immutable.Immutable.Collection.kt

Never the less, some portion of the library is converted.
Building the project generates several errors regarding the imported library hiding some Kotlin types, or methods having override when there’s nothing to override, or missing types.

How seriously is Jetbrains pursuing seamless integration of Kotlin with Javascript modules?

thanks


#2

Hi, please report this particular issue here: https://github.com/Kotlin/ts2kt/issues/new

See also similar issues: https://github.com/Kotlin/ts2kt/issues?utf8=✓&q=is%3Aissue+is%3Aopen+"kind+unsupported+yet+here"