kotlinx-serialization-typescript-generator
kotlinx-serialization-typescript-generator copied to clipboard
KxsTsGen :: Generate TypeScript interfaces from Kotlin classes
`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` | [](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` | [](https://docs.renovatebot.com/merge-confidence/) | [](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`...