Update Item Specifications

Glen Whitney 2025-04-01 23:30:24 +00:00
parent adacad134f
commit 3fe2314049

@ -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:
```