diff --git a/ts-core/src/main/kotlin/cn/tursom/core/context/Context.kt b/ts-core/src/main/kotlin/cn/tursom/core/context/Context.kt index 10a549e..cd9a2f7 100644 --- a/ts-core/src/main/kotlin/cn/tursom/core/context/Context.kt +++ b/ts-core/src/main/kotlin/cn/tursom/core/context/Context.kt @@ -15,7 +15,7 @@ interface Context { } operator fun get(key: ContextKey): T? - fun set(key: ContextKey, value: T): Context + operator fun set(key: ContextKey, value: T): Context fun checkEnv(key: ContextKey<*>) { if (envId != key.envId) {