Revert "more annotations to god of annotations"

This reverts commit f8a8808508.
This commit is contained in:
InsanusMokrassar committed 2020-10-16 19:40:04 +06:00
1 parent 893fd1ac07
commit 90c1731bd1
52 files changed
+9 -222

No files matched your search

@@ -1,8 +1,5 @@
package dev.inmo.micro_utils.common
import kotlin.js.JsExport
@JsExport
fun <T> Iterable<T>.syncWith(
other: Iterable<T>,
removed: (List<T>) -> Unit = {},
@@ -5,15 +5,12 @@ import kotlinx.serialization.builtins.ByteArraySerializer
import kotlinx.serialization.descriptors.SerialDescriptor
import kotlinx.serialization.encoding.Decoder
import kotlinx.serialization.encoding.Encoder
import kotlin.js.JsExport
typealias ByteArrayAllocator = () -> ByteArray
@JsExport
val ByteArray.asAllocator: ByteArrayAllocator
get() = { this }
@JsExport
object ByteArrayAllocatorSerializer : KSerializer<ByteArrayAllocator> {
private val realSerializer = ByteArraySerializer()
override val descriptor: SerialDescriptor = realSerializer.descriptor