tschuchortdev / kotlin-compile-testing

A library for testing Kotlin and Java annotation processors, compiler plugins and code generation
Mozilla Public License 2.0
665 stars 63 forks source link

Add an option to generate a .d.ts file for JS #203

Closed NightEule5 closed 3 years ago

NightEule5 commented 3 years ago

It'd be nice to be able to enable Kotlin's .d.ts file generation feature. This could be added by setting K2JSCompilerArguments.generateDts.

tschuchortdev commented 3 years ago

Done in caf7b92. You may add a test yourself if you know how to test this.