Javascript Prototype Extension
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool
jackmellis opened this issue 4 years ago · comments
If you have a dep that’s an array and you try to use that in another factory, it destructures the array and passes it in as individual parameters
jpex.constant(‘arr’, [ 1, 2, 3 ]) jpex.factory(‘foo’, [ ‘arr’ ], (arr) => { arr === 1 })
jpex/src/resolver/resolve.ts
Line 135 in 2955214