Kotlin / dukat

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

Help generating kotlin-wrappers/kotlin-react compatible code #221

Open NikkyAI opened 4 years ago

NikkyAI commented 4 years ago

While trying to convert @types/react-bootstrap with dukat it generates invalid code and references noexistent classes like React.Component<Tab>

it would be nice if one could add the external declarations of kotlin-wrappers and the .d.ts for it as inputs for dukat so that it generates new external declarations using the manually fixed up classes like RProps, RComponent, etc

then writing the RBuilder extension functions should be the last manual step

ESchouten commented 4 years ago

IMO, instead of developing intermediate solutions to ease use of Dukat now, we should aim for a functional Dukat release where solutions like these are not needed.

You could always use Dukat now to generate Kotlin type definitions and fix them up manually.

Slava96 commented 3 years ago

//+ to this issue