kotlinx-serialization-typescript-generator icon indicating copy to clipboard operation
kotlinx-serialization-typescript-generator copied to clipboard

KxsTsGen :: Generate TypeScript interfaces from Kotlin classes

Results 16 kotlinx-serialization-typescript-generator issues
Sort by recently updated
recently updated
newest added

`KxsTsGenerator` should accept a `SerializersModule`, which will be used to determine how to generate TypeScript.

This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.devtools.ksp:com.google.devtools.ksp.gradle.plugin](https://goo.gle/ksp) ([source](https://redirect.github.com/google/ksp)) | `1.9.25-1.0.20` -> `2.0.20-1.0.25` | [![age](https://developer.mend.io/api/mc/badges/age/maven/com.google.devtools.ksp:com.google.devtools.ksp.gradle.plugin/2.0.20-1.0.25?slim=true)](https://docs.renovatebot.com/merge-confidence/) |...

This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [com.google.devtools.ksp:com.google.devtools.ksp.gradle.plugin](https://goo.gle/ksp) ([source](https://redirect.github.com/google/ksp)) | `1.9.25-1.0.20` -> `2.3.2` | [![age](https://developer.mend.io/api/mc/badges/age/maven/com.google.devtools.ksp:com.google.devtools.ksp.gradle.plugin/2.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/com.google.devtools.ksp:com.google.devtools.ksp.gradle.plugin/1.9.25-1.0.20/2.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [com.google.devtools.ksp:symbol-processing-api](https://goo.gle/ksp)...

Type declaration of `interface` should be moved inside namespace, although it then requires user to type `Namespace.Interface`, it avoids errors when importing both the namespace and the type. ``` export...

- Update dependencies. - Update buildscripts. - Remove unnecessary dependencies. - Fix bug in Tuple.

This change modifies the `KxsTsGenerator` to accept a `SerializersModule` in its constructor. This module is then used to resolve contextual and polymorphic serializers during the TypeScript generation process. The `SerializerDescriptorsExtractor`...