Kotlin / dukat

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

Wrong @JsModule for class SemVer in @types/semver #400

Open Vampire opened 4 years ago

Vampire commented 4 years ago

If you generate for @types/semver, you get in semver.module_semver.kt the following definition:

@JsModule("semver")
external open class SemVer {

This is wrong tough, it needs to be

@JsModule("semver/classes/semver")
external open class SemVer {

to work properly.