ts-generator icon indicating copy to clipboard operation
ts-generator copied to clipboard

Generate TypeScript definitions from Kotlin/Java/JVM classes

Results 25 ts-generator issues
Sort by recently updated
recently updated
newest added

Bumps jsr305 from 3.0.1 to 3.0.2. [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.google.code.findbugs:jsr305&package-manager=gradle&previous-version=3.0.1&new-version=3.0.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a...

dependencies
java

I have a data class with a computed property. The computed property is also present in the generated interface. ``` data class Test( val isOn: Boolean ) { val isOff:...

Hello. Is there any way to share constants between kotlin and typescript? For example: object ApiConstants { const val SOME_VAL_1 = 1234 const val SOME_VAL_2 = "hello world" } Expected...

Goal: convey the concept of an integer to typescript, given that typescript doesn't have this concept, using JSON Schema. Given Kotlin classes, we generate 2 files: 1) Typescript using `ts-generator`....

This is a very cool project. However, wouldn't it make more sense to run this as part of a Gradle plugin, during the build process, and not as a part...

Wondering if it's possible to generate string-enums instead of type aliases?

Or is there an alternative?

Kotlin Maps using keys other than number and string should map to Map instead of object. ```Kotlin data class Foo(val map: Map) ``` maps to ```Typescript interface Foo{ map: {...

# `pom.xml` ``` ... com.github.ntrrgc ts-generator 1.1.1 test org.jetbrains.kotlin kotlin-stdlib-jdk8 1.3.20 test org.jetbrains.kotlin kotlin-reflect 1.3.20 test ``` # sample test ``` package com.vg.js.player; import kotlin.reflect.KClass; import me.ntrrgc.tsGenerator.TypeScriptGenerator; import me.ntrrgc.tsGenerator.VoidType; import...

properties declared as val in kotlin should probably be emitted as readonly in typescript.