I am trying to use BabylonJS in a Kotlin/JS project.
π Version
dukat version 0.5.8-rc.4-dev.20221020
π» Code or Package Name
implementation(npm("@babylonjs/core", "6.15.0"))
π Actual behavior
node_modules$ dukat ./@babylonjs/core/index.d.ts
Exception in thread "main" java.lang.NumberFormatException: For input string: "3735928559"
at java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:67)
at java.base/java.lang.Integer.parseInt(Integer.java:668)
at java.base/java.lang.Integer.parseInt(Integer.java:786)
at org.jetbrains.dukat.nodeIntroduction.ExpressionConverter.convert(convertStatements.kt:129)
at org.jetbrains.dukat.nodeIntroduction.ExpressionConverter.convert(convertStatements.kt:243)
at org.jetbrains.dukat.nodeIntroduction.ExpressionConverter.convertExpression(convertStatements.kt:601)
at org.jetbrains.dukat.nodeIntroduction.DocumentConverter.process(introduceModels.kt:542)
at org.jetbrains.dukat.nodeIntroduction.DocumentConverter.processMembers(introduceModels.kt:283)
at org.jetbrains.dukat.nodeIntroduction.DocumentConverter.convertToClassModel(introduceModels.kt:687)
at org.jetbrains.dukat.nodeIntroduction.DocumentConverter.convertToModel(introduceModels.kt:748)
at org.jetbrains.dukat.nodeIntroduction.DocumentConverter.convert(introduceModels.kt:205)
at org.jetbrains.dukat.nodeIntroduction.NodeConverter.convert(introduceModels.kt:891)
at org.jetbrains.dukat.nodeIntroduction.IntroduceModelsKt.introduceModels(introduceModels.kt:950)
at org.jetbrains.dukat.ts.translator.TypescriptLowerer.lower(TypescriptLowerer.kt:95)
at org.jetbrains.dukat.ts.translator.JsRuntimeByteArrayTranslator.lower(JsRuntimeByteArrayTranslator.kt:13)
at org.jetbrains.dukat.ts.translator.JsRuntimeByteArrayTranslator.translate(JsRuntimeByteArrayTranslator.kt:21)
at org.jetbrains.dukat.ts.translator.TranslateTypescriptDeclarationsKt.translateTypescriptDeclarations(translateTypescriptDeclarations.kt:10)
at org.jetbrains.dukat.cli.CliKt.main(cli.kt:267)
I am trying to use BabylonJS in a Kotlin/JS project.
π Version
dukat version 0.5.8-rc.4-dev.20221020
π» Code or Package Name
π Actual behavior
π Expected behavior
Success, always success