Skip to main content

Getting Started

kxs-ts-gen is published to Maven Central.

Be sure to apply the Kotlinx Serialization plugin.

Adding a dependency

plugins {
kotlin("jvm") version "1.8.0"
kotlin("plugin.serialization") version "1.8.0"
}

dependencies {
implementation("dev.adamko.kxstsgen:kxs-ts-gen-core:0.2.1")
}

Usage

See Docs for examples of how to generate TypeScript interfaces from Kotlin classes.