mirror of
https://github.com/Suwayomi/Tachidesk.git
synced 2025-12-10 06:42:07 +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"
|
||||
graphqlkotlin = "8.8.1"
|
||||
xmlserialization = "0.91.2"
|
||||
ktlint = "1.6.0"
|
||||
ktlint = "1.7.1"
|
||||
koin = "4.1.1"
|
||||
moko = "0.25.0"
|
||||
|
||||
|
||||
@@ -143,8 +143,8 @@ fun OkHttpClient.newCachelessCallWithProgress(
|
||||
context(Json)
|
||||
inline fun <reified T> Response.parseAs(): T = decodeFromJsonResponse(serializer(), this)
|
||||
|
||||
context(Json)
|
||||
@OptIn(ExperimentalSerializationApi::class)
|
||||
context(Json)
|
||||
fun <T> decodeFromJsonResponse(
|
||||
deserializer: DeserializationStrategy<T>,
|
||||
response: Response,
|
||||
|
||||
Reference in New Issue
Block a user