Kotlin / dukat

Converter of <any kind of declarations> to Kotlin external declarations
557 stars 42 forks source link

wrapper for twojs-ts #483

Open Artrosis opened 2 years ago

Artrosis commented 2 years ago

I want to get a wrapper library two: https://www.npmjs.com/package/twojs-ts

i write dependency: implementation(npm("twojs-ts", "latest", generateExternals = true))

after work gradle and frontendGenerateExternals task i have several files in "externals" dir.

in the file I need index.module_twojs-ts.kt

there are many errors, for example:

import Two.Commands(Cannot import 'Commands', functions and properties can be imported only from packages or objects)

I don't fully understand if this is a dukat error or if I did something wrong. can someone explain?