@matreshka/bff 0.14.1 → 0.14.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -17,7 +17,7 @@ export type CompatibleArrayContextRef<R extends ContextRef> = [
|
|
|
17
17
|
* и ref из другого контекста). Без `| undefined` у ValueType — иначе `(T | undefined) extends T`
|
|
18
18
|
* отсекает ref↔ref сравнения.
|
|
19
19
|
*/
|
|
20
|
-
export type ConditionOperandFor<ValueType> = (ValueType & JsonPrimitive) | CompatibleContextValueRef<ValueType, ContextRef
|
|
20
|
+
export type ConditionOperandFor<ValueType> = (ValueType & JsonPrimitive) | CompatibleContextValueRef<ValueType, ContextRef<any, any>>;
|
|
21
21
|
/**
|
|
22
22
|
* Операнд условия на BFF: JSON-примитив того же типа, что значение по `ref`,
|
|
23
23
|
* либо другая ссылка с совместимым типом значения (сравнение в рантайме через `===`).
|
package/package.json
CHANGED