Skip to content

Commit

Permalink
#297 a quick workaround for duplicate type names
Browse files Browse the repository at this point in the history
  • Loading branch information
zuevval committed Aug 2, 2021
1 parent e965a53 commit 32abc4d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class MaterialDataTypeConverters {
fun from(s: String): MaterialData = Json.parse(MaterialData.serializer(), s)
}

typealias SymbolType = String
typealias SymbolTypeName = String

@Serializable
sealed class OneBrailleSymbol : MaterialData() {
Expand All @@ -33,7 +33,7 @@ data class Symbol(
val char: Char,
override val brailleDots: BrailleDots,
@SerialName("symbol_type")
val type: SymbolType
val type: SymbolTypeName
) : OneBrailleSymbol()

@Serializable
Expand Down

0 comments on commit 32abc4d

Please sign in to comment.