Skip to content

Commit 2cc7e00

Browse files
committed
Fix stub
1 parent b964230 commit 2cc7e00

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

  • stub/src/main/java/com/omega_r/libs/omegatypes

stub/src/main/java/com/omega_r/libs/omegatypes/Text.kt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
package com.omega_r.libs.omegatypes
22

33
import java.io.Serializable
4+
import java.lang.RuntimeException
45

56
interface Text : Serializable, Textable {
67

@@ -10,4 +11,8 @@ interface Text : Serializable, Textable {
1011

1112
}
1213

13-
}
14+
}
15+
16+
abstract class TextStyle : Serializable
17+
18+
fun String.toText(textStyle: TextStyle? = null): Text = throw RuntimeException()

0 commit comments

Comments
 (0)