Open
Description
I have a use case here where kotlin have internal subclass
@Serializable
data class A(val c: C){
enum class C{
one
}
}
@Serializable
data class B(val c: C){
enum class C {
two
}
}
@Serializable
data class Test(
val a: A,
val b: B
)
the generated ts definition of class Test
is
export interface Test {
a: A;
b: B;
}
export interface A {
c: C;
}
export interface B {
c: C;
}
export enum C {
one = "one",
}
export enum C {
two = "two",
}
which has some naming conflicts on enum C.
Do we have a way to handle this? I see some unimplemented namespace, could it be used here?
Metadata
Metadata
Assignees
Labels
No labels