From 3fe231404912a0d09aa86807388f1e149adf7864 Mon Sep 17 00:00:00 2001 From: Glen Whitney Date: Tue, 1 Apr 2025 23:30:24 +0000 Subject: [PATCH] Update Item Specifications --- Item-Specifications.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Item-Specifications.md b/Item-Specifications.md index c727381..7ed24f3 100644 --- a/Item-Specifications.md +++ b/Item-Specifications.md @@ -21,7 +21,7 @@ export const square = (math, [T]) => { return a => math.multiply(a, a) } ``` -That's because in order to work as a dependency, the dependent items must be extracted within the _factory_ for the item, not within the behavior that the factory returns. +That's because in order to work as a dependency, the dependent items must be extracted within the _factory_ for the item, not within the _behavior_ that the factory returns. There's another wrinkle; we want to record the return type of all of the methods, both for writing TypeScript type definition files and for making it easier to select the best implementations for other methods. So we will really need to write something like: ```