mirror of
https://github.com/Suwayomi/Tachidesk.git
synced 2025-12-10 14:52:05 +01:00
Update dependency com.pinterest.ktlint:ktlint-cli to v1.7.1 (#1520)
* Update dependency com.pinterest.ktlint:ktlint-cli to v1.7.1 * Lint --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Syer10 <syer10@users.noreply.github.com>
This commit is contained in:
@@ -13,7 +13,7 @@ settings = "1.3.0"
|
|||||||
twelvemonkeys = "3.12.0"
|
twelvemonkeys = "3.12.0"
|
||||||
graphqlkotlin = "8.8.1"
|
graphqlkotlin = "8.8.1"
|
||||||
xmlserialization = "0.91.2"
|
xmlserialization = "0.91.2"
|
||||||
ktlint = "1.6.0"
|
ktlint = "1.7.1"
|
||||||
koin = "4.1.1"
|
koin = "4.1.1"
|
||||||
moko = "0.25.0"
|
moko = "0.25.0"
|
||||||
|
|
||||||
|
|||||||
@@ -143,8 +143,8 @@ fun OkHttpClient.newCachelessCallWithProgress(
|
|||||||
context(Json)
|
context(Json)
|
||||||
inline fun <reified T> Response.parseAs(): T = decodeFromJsonResponse(serializer(), this)
|
inline fun <reified T> Response.parseAs(): T = decodeFromJsonResponse(serializer(), this)
|
||||||
|
|
||||||
context(Json)
|
|
||||||
@OptIn(ExperimentalSerializationApi::class)
|
@OptIn(ExperimentalSerializationApi::class)
|
||||||
|
context(Json)
|
||||||
fun <T> decodeFromJsonResponse(
|
fun <T> decodeFromJsonResponse(
|
||||||
deserializer: DeserializationStrategy<T>,
|
deserializer: DeserializationStrategy<T>,
|
||||||
response: Response,
|
response: Response,
|
||||||
|
|||||||
Reference in New Issue
Block a user