Kotlin / dukat

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

typescript interface with special character in field name. #424

Open jiqimaogou opened 3 years ago

jiqimaogou commented 3 years ago
    interface ClassA {
        'test.address'?: boolean
    }

to kotlin is

external interface ClassA {
    var test.address: Boolean? // this is wrong
abelkov commented 3 years ago

Also tracked in https://youtrack.jetbrains.com/issue/KT-43953