dukat
dukat copied to clipboard
Converter of <any kind of declarations> to Kotlin external declarations
build.gradle.kts: ``` implementation(npm("mobx", "6.6.1", generateExternals = true)) implementation(npm("mobx-state-tree", "5.1.5", generateExternals = true)) ``` output: ``` > Task :compileKotlinJs FAILED src/array.module_mobx-state-tree.kt: (18, 20): External type extends non-external type src/array.module_mobx-state-tree.kt: (18, 47):...
dependencies { implementation(npm("monaco-editor", version_monaco, generateExternals = true)) }
Dukat cannot transform typescript's get or set method to kotlin.
I created a new Kotlin/JS project using `Gradle > Kotlin/JS for browser` from the Intellij wizard. I modified my dependencies to the following: ```kotlin repositories { maven("https://kotlin.bintray.com/kotlin-js-wrappers/") mavenCentral() } dependencies...
### 🕗 Version 0.5.8-rc.4 ### 💻 Code or Package Name @types/mapbox-gl 1.11.0 ### 🙁 Actual behavior Compilation error ``` > Task :compileKotlinJs e: java.lang.IllegalStateException: Cannot serialize error type: [ERROR :...
``` ❯ npm install -g dukat /usr/local/bin/dukat -> /usr/local/lib/node_modules/dukat/bin/dukat-cli.js + [email protected] added 3 packages from 3 contributors in 13.756s ❯ dukat bignumber.d.ts unresolved exception TypeError: Cannot read property 'length' of...
In the kotlin-js-plugin (1.6.21) I am starting the generateExternalsIntegrated and get the following Exception for several packages (trying each alone) react-hook-form or formik. Any help would be appreciated. My gradle.build.kts...
### 🕗 Version 0.5.8-rc.4 ### 💻 Code or Package Name `org.jetbrains.dukat.nodeIntroduction` ### 🙁 Actual behavior If you try to generate Kotlin API wrappers for [@babylonjs/core](https://www.npmjs.com/package/@babylonjs/core), it will fail with the...
When using Kotlin explicit API mode and setting `kotlin.js.generate.externals=true` in gradle.properties the build fails with `Visibility must be specified in explicit API mode`. So, it's impossible to use dukat with...
### 🕗 Version dukat version 0.5.8-rc.4 ### 💻 Code or Package Name `react-helmet` ### 🙁 Actual behavior When I execute: `dukat ./node_modules/react-helmet/index.d.ts` I get following error: ``` Exception in thread...