mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-25 15:40:28 +08:00
Fix typo
This commit is contained in:
parent
65d7871916
commit
ae20a8d180
@ -3,11 +3,7 @@
|
||||
package net.mamoe.mirai.console.setting
|
||||
|
||||
import kotlinx.serialization.KSerializer
|
||||
import net.mamoe.mirai.console.setting.internal.cast
|
||||
import net.mamoe.mirai.console.setting.internal.valueFromKTypeImpl
|
||||
import net.mamoe.mirai.utils.MiraiExperimentalAPI
|
||||
import kotlin.internal.LowPriorityInOverloadResolution
|
||||
import kotlin.reflect.typeOf
|
||||
|
||||
/**
|
||||
* Represents a observable, immutable value wrapping.
|
||||
@ -31,7 +27,7 @@ typealias ValueSerializer<T> = KSerializer<Value<T>>
|
||||
/**
|
||||
* Represents a observable *primitive* value wrapping.
|
||||
*
|
||||
* 8 types that are considered *primitive*:
|
||||
* 9 types that are considered *primitive*:
|
||||
* - Integers: [Byte], [Short], [Int], [Long]
|
||||
* - Floating: [Float], [Double]
|
||||
* - [Boolean]
|
||||
@ -42,8 +38,6 @@ typealias ValueSerializer<T> = KSerializer<Value<T>>
|
||||
*/
|
||||
interface PrimitiveValue<T> : Value<T>
|
||||
|
||||
interface MutablePrimitiveValue<T> : Value<T>
|
||||
|
||||
|
||||
//// region PrimitiveValue CODEGEN START ////
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user