Selaa lähdekoodia

Specify actual type

Him188 6 vuotta sitten
vanhempi
sitoutus
710379eb80

+ 1 - 1
mirai-core/src/androidMain/kotlin/net/mamoe/mirai/utils/ExternalImageAndroid.kt

@@ -35,7 +35,7 @@ import java.net.URL
  */
  */
 @Suppress("UNUSED_PARAMETER")
 @Suppress("UNUSED_PARAMETER")
 @Throws(IOException::class)
 @Throws(IOException::class)
-fun Bitmap.toExternalImage(formatName: String = "gif"): Nothing {
+fun Bitmap.toExternalImage(formatName: String = "gif"): ExternalImage {
     TODO()
     TODO()
 }
 }