Update Item Specifications
parent
adacad134f
commit
3fe2314049
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue