File tree Expand file tree Collapse file tree 7 files changed +5
-7
lines changed
modules/kxs-ts-gen-core/src/commonMain/kotlin/dev.adamko.kxstsgen Expand file tree Collapse file tree 7 files changed +5
-7
lines changed Original file line number Diff line number Diff line change 11package dev.adamko.kxstsgen
22
33import dev.adamko.kxstsgen.util.MutableMapWithDefaultPut
4- import kotlinx.serialization.InternalSerializationApi
54import kotlinx.serialization.KSerializer
65import kotlinx.serialization.descriptors.PolymorphicKind
76import kotlinx.serialization.descriptors.PrimitiveKind
@@ -21,7 +20,7 @@ fun interface SerializerDescriptorsExtractor {
2120 ): Set <SerialDescriptor >
2221
2322
24- object Default : SerializerDescriptorsExtractor {
23+ object Default : SerializerDescriptorsExtractor {
2524
2625 override operator fun invoke (
2726 serializer : KSerializer <* >
Original file line number Diff line number Diff line change 11package dev.adamko.kxstsgen
22
3-
43import kotlinx.serialization.descriptors.PolymorphicKind
54import kotlinx.serialization.descriptors.PrimitiveKind
65import kotlinx.serialization.descriptors.SerialDescriptor
@@ -9,6 +8,7 @@ import kotlinx.serialization.descriptors.StructureKind
98import kotlinx.serialization.descriptors.elementDescriptors
109import kotlinx.serialization.descriptors.elementNames
1110
11+
1212fun interface TsElementConverter {
1313
1414 operator fun invoke (
Original file line number Diff line number Diff line change 11package dev.adamko.kxstsgen
22
3-
43import kotlinx.serialization.descriptors.PolymorphicKind
54import kotlinx.serialization.descriptors.PrimitiveKind
65import kotlinx.serialization.descriptors.SerialDescriptor
76import kotlinx.serialization.descriptors.SerialKind
87import kotlinx.serialization.descriptors.StructureKind
98
9+
1010fun interface TsElementIdConverter {
1111
1212 operator fun invoke (descriptor : SerialDescriptor ): TsElementId
Original file line number Diff line number Diff line change 11package dev.adamko.kxstsgen
22
3-
43import kotlinx.serialization.descriptors.PolymorphicKind
54import kotlinx.serialization.descriptors.PrimitiveKind
65import kotlinx.serialization.descriptors.SerialDescriptor
Original file line number Diff line number Diff line change 11package dev.adamko.kxstsgen
22
3-
43import kotlinx.serialization.descriptors.PolymorphicKind
54import kotlinx.serialization.descriptors.PrimitiveKind
65import kotlinx.serialization.descriptors.SerialDescriptor
Original file line number Diff line number Diff line change 11package dev.adamko.kxstsgen
22
3+
34@Target(
45 AnnotationTarget .CLASS ,
56 AnnotationTarget .PROPERTY ,
Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ sealed interface TsTypeRef {
128128 data class Literal (
129129 val element : TsLiteral ,
130130 override val nullable : Boolean ,
131- ) : TsTypeRef
131+ ) : TsTypeRef
132132
133133
134134 data class Declaration (
You can’t perform that action at this time.
0 commit comments